mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-28 02:20:04 +01:00
gtester: only remove source if not already dead
Don't attempt to g_source_remove() a source for which we already returned FALSE from the handler. https://bugzilla.gnome.org/show_bug.cgi?id=710724
This commit is contained in:
parent
f7beb90193
commit
a4bcd3e65a
@ -421,7 +421,9 @@ launch_test_binary (const char *binary,
|
||||
loop_pending = g_main_context_pending (NULL);
|
||||
}
|
||||
|
||||
g_source_remove (child_report_cb_id);
|
||||
if (subtest_io_pending)
|
||||
g_source_remove (child_report_cb_id);
|
||||
|
||||
close (report_pipe[0]);
|
||||
g_test_log_buffer_free (tlb);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user