[FL-1208] Fix crash in dolphin scene app caused by condition race in Tmr thread on delete (#438)

* Dolphin scene add moar enterprise sleeps

* Gihub: update PR template and cleanup codeowners

Co-authored-by: its your bedtime <23366927+itsyourbedtime@users.noreply.github.com>
This commit is contained in:
あく
2021-04-30 09:41:15 +03:00
committed by GitHub
parent 43ff095724
commit c982294d5f
4 changed files with 12 additions and 25 deletions

View File

@@ -133,6 +133,10 @@ int32_t scene_app(void* p) {
}
osTimerStop(scene_app_gui->timer);
// CMSIS + FreeRTOS = Enterprise
osDelay(15);
scene_free();
api_hal_power_insomnia_exit();
return 0;