ref: 434e6a43cfa58ab88f91236fb9a9e915e644026f
parent: f7557852b560a5fccf2bec21aa8397114a564e99
author: Ben Harris <bjh21@bjh21.me.uk>
date: Mon Nov 21 09:59:19 EST 2022
js: When removing the status bar, null out its variable It seems polite to allow it to be garbage-collected.
--- a/emcclib.js
+++ b/emcclib.js
@@ -536,6 +536,7 @@
js_canvas_remove_statusbar: function() {
if (statusbar !== null)
statusbar.parentNode.removeChild(statusbar);
+ statusbar = null;
},
/*