Xfw app fix crash on load own fap manifest

This commit is contained in:
Willy-JL
2023-03-28 02:33:44 +01:00
parent a25bfddcfd
commit cb58ec1896
3 changed files with 4 additions and 1 deletions

View File

@@ -315,6 +315,7 @@ void xtreme_app_free(XtremeApp* app) {
extern int32_t xtreme_app(void* p) {
UNUSED(p);
XtremeApp* app = xtreme_app_alloc();
snprintf(app->fap_name, 32, "%s.fap", furi_thread_get_appid(furi_thread_get_current_id()));
scene_manager_next_scene(app->scene_manager, XtremeAppSceneStart);
view_dispatcher_run(app->view_dispatcher);
xtreme_app_free(app);