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 130ed238a5
commit 6e4ad996af

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) {