/** * End the system. */ void system_end(void) { tooltip_dismiss(); object_deinit(); notification_destroy(); popup_destroy_all(); resources_deinit(); toolkit_widget_deinit(); client_socket_deinitialize(); metaserver_clear_data(); effects_deinit(); sound_ambient_clear(); interface_deinit(); sound_deinit(); intro_deinit(); cmd_aliases_deinit(); server_settings_deinit(); texture_deinit(); text_deinit(); hfiles_deinit(); settings_deinit(); keybind_deinit(); image_bmaps_deinit(); anims_deinit(); skills_deinit(); spells_deinit(); clioption_settings_deinit(); server_files_deinit(); image_deinit(); toolkit_deinit(); SDL_Quit(); }
void core_deinit(void) { chat_commands_deinit(); nicklist_deinit(); queries_deinit(); channels_deinit(); rawlog_deinit(); log_deinit(); write_buffer_deinit(); servers_deinit(); ignore_deinit(); expandos_deinit(); chatnets_deinit(); chat_protocols_deinit(); nickmatch_cache_deinit(); commands_deinit(); settings_deinit(); signals_deinit(); net_sendbuffer_deinit(); net_disconnect_deinit(); #ifndef WIN32 pidwait_deinit(); #endif modules_deinit(); }
void handle_deinit(void) { status_bar_deinit(); // Always have 40B memory leak due to tick_timer_service_subscribe() #ifdef PBL_ROUND round_bottom_bar_deinit(); #endif favorites_deinit(); stations_deinit(); locale_deinit(); settings_deinit(); message_deinit(); // Always have 16B memory leak due to app_message_set_context() }
void core_deinit(void) { special_vars_deinit(); rawlog_deinit(); log_deinit(); servers_deinit(); commands_deinit(); settings_deinit(); signals_deinit(); net_disconnect_deinit(); pidwait_deinit(); modules_deinit(); }
int main(void) { menu_init(); settings_init(); pokedex_init(); ///game1_init(); menu_show(); app_event_loop(); menu_deinit(); settings_deinit(); pokedex_deinit(); ///game1_deinit(); return 0; }
void core_deinit(void) { module_uniq_destroy("WINDOW ITEM TYPE"); signal_remove("setup changed", (SIGNAL_FUNC) read_settings); signal_remove("irssi init finished", (SIGNAL_FUNC) sig_irssi_init_finished); wcwidth_wrapper_deinit(); chat_commands_deinit(); nicklist_deinit(); queries_deinit(); channels_deinit(); recode_deinit(); rawlog_deinit(); log_away_deinit(); log_deinit(); write_buffer_deinit(); servers_deinit(); ignore_deinit(); expandos_deinit(); chatnets_deinit(); chat_protocols_deinit(); #ifdef HAVE_CAPSICUM capsicum_deinit(); #endif session_deinit(); nickmatch_cache_deinit(); commands_deinit(); settings_deinit(); signals_deinit(); net_disconnect_deinit(); pidwait_deinit(); modules_deinit(); g_free(irssi_dir); g_free(irssi_config_file); }