void handle_deinit() { INFO_LOG("Cleaning up on exit."); SavePersistedData(); UnloadBackgroundImage(); UnloadMainBmpImage(); UnloadTextLayers(); tick_timer_service_unsubscribe(); app_focus_service_unsubscribe(); #if ALLOW_WORKER_APP AppDying(ClosingWhileInBattle()); app_worker_message_unsubscribe(); #endif }
void handle_deinit(AppContextRef ctx) { (void)ctx; UnloadBackgroundImage(); UnloadMainBmpImage(); }