Skip to content

Commit

Permalink
Fixing reported gateway crash (github issue #19).
Browse files Browse the repository at this point in the history
  • Loading branch information
arobenko committed Oct 7, 2024
1 parent 255d95e commit 686bdae
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions gateway/app/gateway/GatewayApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,7 @@ bool GatewayApp::start(int argc, const char* argv[])
return;
}

boost::asio::post(
m_io,
[this, iter]()
{
m_sessions.erase(iter);
});

m_sessions.erase(iter);
});

if (!session->start()) {
Expand Down

0 comments on commit 686bdae

Please sign in to comment.