Fix pressure memory leak

master
Stiralbios 2023-02-17 13:08:05 +01:00
parent c9207e2795
commit 9e8109de3b
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@
turnOffServices(); turnOffServices();
if (this.onLock) Bangle.removeListener('lock', this.onLock); if (this.onLock) Bangle.removeListener('lock', this.onLock);
if (this.onHRM) Bangle.removeListener('HRM', this.onHRM); if (this.onHRM) Bangle.removeListener('HRM', this.onHRM);
if (this.onPressure) Bangle.removeListener('onPressure', this.onPressure); if (this.onPressure) Bangle.removeListener('pressure', this.onPressure);
} }
}); });