Clear the command queue after flushing statemachines
Flushing the state machines can cause remove commands to be added to the command queue, so clearing it needs to be after.
This commit is contained in:
@@ -418,6 +418,7 @@ void cleanupCurl(void)
|
||||
if (CurlMultiHandle::getTotalMultiHandles() != 0)
|
||||
llwarns << "Not all CurlMultiHandle objects were destroyed!" << llendl;
|
||||
AIStateMachine::flush();
|
||||
clearCommandQueue();
|
||||
Stats::print();
|
||||
ssl_cleanup();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user