Skip to content

Commit 663480b

Browse files
RKBoss6bobrippling
andauthored
Update boot.js
Co-authored-by: Rob Pilling <robpilling@gmail.com>
1 parent 80b13db commit 663480b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/backlite/boot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
s.brightness = 0;
1414
require("Storage").writeJSON("setting.json", s);
1515
//remove large settings object from memory
16-
s=null;
16+
delete s;
1717
const longPressTime=400; //(ms)
1818

1919
Bangle.on('lock', function(isLocked) {

0 commit comments

Comments
 (0)