Skip to content

Commit

Permalink
Merge 22d351a into 5a80c50
Browse files Browse the repository at this point in the history
  • Loading branch information
bzbarsky-apple authored Jun 15, 2021
2 parents 5a80c50 + 22d351a commit 1092746
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions src/app/InteractionModelEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,22 +68,34 @@ void InteractionModelEngine::Shutdown()
{
for (auto & commandSender : mCommandSenderObjs)
{
commandSender.Shutdown();
if (!commandSender.IsFree())
{
commandSender.Shutdown();
}
}

for (auto & commandHandler : mCommandHandlerObjs)
{
commandHandler.Shutdown();
if (!commandHandler.IsFree())
{
commandHandler.Shutdown();
}
}

for (auto & readClient : mReadClients)
{
readClient.Shutdown();
if (!readClient.IsFree())
{
readClient.Shutdown();
}
}

for (auto & readHandler : mReadHandlers)
{
readHandler.Shutdown();
if (!readHandler.IsFree())
{
readHandler.Shutdown();
}
}

for (uint32_t index = 0; index < IM_SERVER_MAX_NUM_PATH_GROUPS; index++)
Expand Down

0 comments on commit 1092746

Please sign in to comment.