示例#1
0
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
}
示例#2
0
void handle_deinit(AppContextRef ctx) {
	(void)ctx;

	UnloadBackgroundImage();
	UnloadMainBmpImage();
}