mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07: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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user