gsettings: remove long-deprecated "schema" property
[platform/upstream/glib.git] / tests / asyncqueue-test.c
index bdc5303..84d7810 100644 (file)
@@ -185,8 +185,6 @@ main (int argc, char *argv[])
   gint   sort_interval;
   gchar *msg G_GNUC_UNUSED;
 
-  g_thread_init (NULL);
-
   basic_tests ();
 
   PRINT_MSG (("creating async queue..."));
@@ -239,5 +237,9 @@ main (int argc, char *argv[])
   main_loop = g_main_loop_new (NULL, FALSE);
   g_main_loop_run (main_loop);
 
+  g_main_loop_unref (main_loop);
+  g_thread_pool_free (thread_pool, TRUE, TRUE);
+  g_async_queue_unref (async_queue);
+
   return EXIT_SUCCESS;
 }