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
Colmena applications do not exit cleanly on Ctrl+C because you have to kill many threads. You should be able to make the application exit more cleanly by setting the "self.done" flag of the Thinker on the first Ctrl+C, which should signal all of the threads to exit.
We need to:
Put the sections that sit within a try/finally block of the run function
Emit a logging message that indicates the signal was received
Wait as normal for the threads to finish
The text was updated successfully, but these errors were encountered:
Colmena applications do not exit cleanly on Ctrl+C because you have to kill many threads. You should be able to make the application exit more cleanly by setting the "self.done" flag of the Thinker on the first Ctrl+C, which should signal all of the threads to exit.
We need to:
try
/finally
block of therun
functionThe text was updated successfully, but these errors were encountered: