tests: Don't leak check-proxies thread

This commit is contained in:
Tomasz Miąsko 2019-02-22 00:00:00 +00:00 committed by Tomasz Miąsko
parent d75605e866
commit c52021f340

View File

@ -583,10 +583,8 @@ on_name_acquired (GDBusConnection *connection,
gpointer user_data) gpointer user_data)
{ {
GMainLoop *loop = user_data; GMainLoop *loop = user_data;
GThread *thread = g_thread_new ("check-proxies", check_proxies_in_thread, loop);
g_thread_new ("check-proxies", g_thread_unref (thread);
check_proxies_in_thread,
loop);
} }
static void static void