mirror of
https://git.wetfence.xyz/RandyTheSilly/Trigalarm.git
synced 2026-10-27 11:19:57 -04:00
Unsub from tick services where applicable
This commit is contained in:
1 parent
1c792aab47
commit
5cb08a7b28
1 file changed
+2
@@ -622,6 +622,7 @@ static void alarm_window_load() {
|
||||
}
|
||||
|
||||
static void alarm_window_unload() {
|
||||
tick_timer_service_unsubscribe();
|
||||
text_layer_destroy(s_counter_txt_layer);
|
||||
window_destroy(s_drop_window);
|
||||
text_layer_destroy(s_side_a_txt_layer);
|
||||
@@ -768,6 +769,7 @@ static void setter_window_load() {
|
||||
}
|
||||
|
||||
static void setter_window_unload() {
|
||||
tick_timer_service_unsubscribe();
|
||||
text_layer_destroy(s_setter_txt_layer);
|
||||
layer_destroy(s_setter_highlight_layer);
|
||||
text_layer_destroy(s_counter_txt_layer);
|
||||
|
||||
Reference in new issue
Block a user