Fix pressure memory leak
parent
c9207e2795
commit
9e8109de3b
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue