mirror of
https://git.wetfence.xyz/RandyTheSilly/Maan-On-My-Wrist-XL.git
synced 2026-10-27 02:19:57 -04:00
Explicity unsubscribe from time_ticker_service
This commit is contained in:
1 parent
c70dd3ffcc
commit
e1bce28295
1 file changed
+3
@@ -390,6 +390,9 @@ static void init() {
|
|||||||
|
|
||||||
// free memory on app exit
|
// free memory on app exit
|
||||||
static void deinit() {
|
static void deinit() {
|
||||||
|
// unsubscribe
|
||||||
|
tick_timer_service_unsubscribe();
|
||||||
|
|
||||||
// destroy layers
|
// destroy layers
|
||||||
text_layer_destroy(s_time_layer);
|
text_layer_destroy(s_time_layer);
|
||||||
text_layer_destroy(s_date_layer);
|
text_layer_destroy(s_date_layer);
|
||||||
|
|||||||
Reference in new issue
Block a user