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:
MX 2023-08-28 05:48:40 +03:00
parent 416a02fc5b
commit 46e74b3823
No known key found for this signature in database
GPG key ID: 7CCC66B7DBDD1C83

View file

@ -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 {