mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
common RuunableBase with private inheritance
This commit is contained in:
parent
b982be5ff5
commit
969f9aa436
13 changed files with 43 additions and 95 deletions
|
@ -1155,7 +1155,7 @@ namespace transport
|
|||
{
|
||||
if (!IsRunning ())
|
||||
{
|
||||
StartService ();
|
||||
StartIOService ();
|
||||
auto& addresses = context.GetRouterInfo ().GetAddresses ();
|
||||
for (const auto& address: addresses)
|
||||
{
|
||||
|
@ -1217,7 +1217,7 @@ namespace transport
|
|||
|
||||
if (IsRunning ())
|
||||
m_TerminationTimer.cancel ();
|
||||
StopService ();
|
||||
StopIOService ();
|
||||
}
|
||||
|
||||
bool NTCP2Server::AddNTCP2Session (std::shared_ptr<NTCP2Session> session, bool incoming)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue