DRTVWR-476: Pump coroutines a few more times when we start quitting.
By the time "LLApp" listeners are notified that the app is quitting, the mainloop is no longer running. Even though those listeners do things like close work queues and inject exceptions into pending promises, any coroutines waiting on those resources must regain control before they can notice and shut down properly. Add a final "LLApp" listener that resumes ready coroutines a few more times. Make sure every other "LLApp" listener is positioned before that new one.
Showing
- indra/llcommon/llcoros.cpp 32 additions, 0 deletionsindra/llcommon/llcoros.cpp
- indra/llcommon/llcoros.h 3 additions, 0 deletionsindra/llcommon/llcoros.h
- indra/llcommon/lleventcoro.cpp 4 additions, 1 deletionindra/llcommon/lleventcoro.cpp
- indra/llmessage/llcoproceduremanager.cpp 6 additions, 3 deletionsindra/llmessage/llcoproceduremanager.cpp
Loading
Please register or sign in to comment