Make savedSettings variable null after it is used, since it is probably

a cause for a big memory leak.
This commit is contained in:
Artur Gomes 2017-07-31 19:34:49 +01:00
parent 904c730d07
commit 1f5be31326

View file

@ -897,7 +897,9 @@
print("opening tablet fingerpaint app");
tablet.gotoWebScreen(APP_URL + "?" + encodeURIComponent(JSON.stringify(savedSettings)));
enableProcessing();
savedSettings = null;
}
updateHandFunctions();
if (!isFingerPainting) {