Furi: wait for timer wind down in destructor (#1716)
This commit is contained in:
@@ -463,8 +463,6 @@ void text_input_free(TextInput* text_input) {
|
||||
|
||||
// Send stop command
|
||||
furi_timer_stop(text_input->timer);
|
||||
// Wait till timer stop
|
||||
while(furi_timer_is_running(text_input->timer)) furi_delay_tick(1);
|
||||
// Release allocated memory
|
||||
furi_timer_free(text_input->timer);
|
||||
|
||||
|
Reference in New Issue
Block a user