Dan Timofte <dantimo...@protonmail.com> added the comment:

`loop.call_soon_threadsafe(loop.stop)` solves the problem because it has the 
write_to_self there. I can use that or call loop._write_to_self() myself before 
calling loop.stop(). 

In my code i'm stoping the loop from the exception_handler not signal. The code 
was a small example i thought of that reproduces the described behaviour.

You can close the issue if it's ok for you.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue36626>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to