Unsub from tick services where applicable
This commit is contained in:
@@ -622,6 +622,7 @@ static void alarm_window_load() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void alarm_window_unload() {
|
static void alarm_window_unload() {
|
||||||
|
tick_timer_service_unsubscribe();
|
||||||
text_layer_destroy(s_counter_txt_layer);
|
text_layer_destroy(s_counter_txt_layer);
|
||||||
window_destroy(s_drop_window);
|
window_destroy(s_drop_window);
|
||||||
text_layer_destroy(s_side_a_txt_layer);
|
text_layer_destroy(s_side_a_txt_layer);
|
||||||
@@ -768,6 +769,7 @@ static void setter_window_load() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void setter_window_unload() {
|
static void setter_window_unload() {
|
||||||
|
tick_timer_service_unsubscribe();
|
||||||
text_layer_destroy(s_setter_txt_layer);
|
text_layer_destroy(s_setter_txt_layer);
|
||||||
layer_destroy(s_setter_highlight_layer);
|
layer_destroy(s_setter_highlight_layer);
|
||||||
text_layer_destroy(s_counter_txt_layer);
|
text_layer_destroy(s_counter_txt_layer);
|
||||||
|
|||||||
Reference in New Issue
Block a user