mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
terminate acceptor and sessions on stop
This commit is contained in:
parent
84235fe479
commit
a44ca91409
3 changed files with 30 additions and 14 deletions
3
BOB.cpp
3
BOB.cpp
|
@ -580,9 +580,10 @@ namespace client
|
|||
|
||||
void BOBCommandChannel::Stop ()
|
||||
{
|
||||
m_IsRunning = false;
|
||||
for (auto it: m_Destinations)
|
||||
it.second->Stop ();
|
||||
m_IsRunning = false;
|
||||
m_Acceptor.cancel ();
|
||||
m_Service.stop ();
|
||||
if (m_Thread)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue