mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-23 04:53:08 +00:00
remake fix in ofw way
view_dispatcher will skip on _run and free will be called, then app will exit same as normal
This commit is contained in:
parent
416a02fc5b
commit
46e74b3823
1 changed files with 0 additions and 3 deletions
|
@ -192,10 +192,7 @@ int32_t lfrfid_app(void* p) {
|
|||
scene_manager_next_scene(app->scene_manager, LfRfidSceneEmulate);
|
||||
dolphin_deed(DolphinDeedRfidEmulate);
|
||||
} else {
|
||||
// TODO: exit properly
|
||||
view_dispatcher_stop(app->view_dispatcher);
|
||||
lfrfid_free(app);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue