diff options
| author | Ben Harris <bjh21@bjh21.me.uk> | 2022-11-21 14:59:19 +0000 |
|---|---|---|
| committer | Ben Harris <bjh21@bjh21.me.uk> | 2022-11-21 14:59:19 +0000 |
| commit | 434e6a43cfa58ab88f91236fb9a9e915e644026f (patch) | |
| tree | fe637722b3d55adecbef357ca06fb39e81f75855 /emcclib.js | |
| parent | f7557852b560a5fccf2bec21aa8397114a564e99 (diff) | |
| download | puzzles-434e6a43cfa58ab88f91236fb9a9e915e644026f.zip puzzles-434e6a43cfa58ab88f91236fb9a9e915e644026f.tar.gz puzzles-434e6a43cfa58ab88f91236fb9a9e915e644026f.tar.bz2 puzzles-434e6a43cfa58ab88f91236fb9a9e915e644026f.tar.xz | |
js: When removing the status bar, null out its variable
It seems polite to allow it to be garbage-collected.
Diffstat (limited to 'emcclib.js')
| -rw-r--r-- | emcclib.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -536,6 +536,7 @@ mergeInto(LibraryManager.library, { js_canvas_remove_statusbar: function() { if (statusbar !== null) statusbar.parentNode.removeChild(statusbar); + statusbar = null; }, /* |