Attached patch fixes the problem more effectively than the backported patch and doesn't do incorrect things like calling os.kill on a glib watch.
Attached patch fixes the problem more effectively than the backported patch and doesn't do incorrect things like calling os.kill on a glib watch.