mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-04 18:26:19 +01:00
tests: Don't leak check-proxies thread
This commit is contained in:
parent
d75605e866
commit
c52021f340
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user