mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-13 20:08:29 +01:00
When running a task in a thread, GTask may still be internally holding a ref on the task in that thread even after the callback is called in the original thread (depending on thread scheduling). Fix the test to handle that by using a weak notify that signals a GCond, and wait for that GCond from the main thread. (And add a corresponding check to test_return_on_cancel().) https://bugzilla.gnome.org/show_bug.cgi?id=705152
47 KiB
47 KiB