From c0d301c1e7c59a1d8e1714cdd5b51deeb7a7ae6b Mon Sep 17 00:00:00 2001 From: Stiralbios Date: Sun, 29 Jan 2023 11:04:35 +0100 Subject: [PATCH] [TerminalClock] Remove fastloading It still have memory leak and I am unable to find why --- apps/terminalclock/ChangeLog | 2 +- apps/terminalclock/app.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/terminalclock/ChangeLog b/apps/terminalclock/ChangeLog index 59cabf01c..2df526734 100644 --- a/apps/terminalclock/ChangeLog +++ b/apps/terminalclock/ChangeLog @@ -7,4 +7,4 @@ 0.07: Use ClockFace module and rework the settings to be able to personnalize the order of the lines 0.08: Hide widgets instead of not loading them at all Use Clockface_menu for widgets and power saving settings -0.09: Add, fastload compatibility, default HRM value, default altitude value +0.09: Add default HRM value, default altitude value diff --git a/apps/terminalclock/app.js b/apps/terminalclock/app.js index 392d16227..04e4fb5c8 100644 --- a/apps/terminalclock/app.js +++ b/apps/terminalclock/app.js @@ -78,6 +78,8 @@ }); }, + /* + // todo add fastloading when the memory leak is fixed remove: function() { if (this.turnOnInterval){ clearInterval(this.turnOnInterval); @@ -91,6 +93,7 @@ if (this.onHRM) Bangle.removeListener('HRM', this.onHRM); if (this.onPressure) Bangle.removeListener('onPressure', this.onPressure); } + */ });