mirror of
git://sourceware.org/git/lvm2.git
synced 2025-02-25 21:57:45 +03:00
When executing in the main thread, if we encounter an exception we will bypass the notify_all call on the condition and the calling thread never wakes up. @staticmethod def runner(obj): # noinspection PyProtectedMember Exception thrown here ----> obj._run() So the following code doesn't run, which causes calling thread to hang with obj.cond: obj.function_complete = True obj.cond.notify_all() Additionally for some unknown reason the stderr is lost. Best guess is it's something to do with scheduling a python function into the GLib.idle_add. That made finding issue quite difficult.