Skip to content
Snippets Groups Projects
Commit c6f24fac authored by Julian Bouzas's avatar Julian Bouzas
Browse files

main: disconnect core before exiting

Disconnecting core finishes all pending tasks, which is needed in order to avoid
possible leaks if some tasks are still pending when exiting.
parent d9ffc1c3
No related branches found
No related tags found
No related merge requests found
......@@ -408,6 +408,7 @@ main (gint argc, gchar **argv)
g_idle_add ((GSourceFunc) load_commands_file, &data);
g_main_loop_run (data.loop);
wp_core_disconnect (core);
out:
if (data.exit_message) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment