You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
loop.stop() will not be safe from a thread in tornado 5
There has never been a guarantee to this effect,
but it has happened to be true so far.
The result is that the stop event will not fire until the next loop iteration (e.g. triggered by an HTTP request).
Using add_callback ensures that the main thread wakes and handles the stop event.
cf tornado#2119
0 commit comments