Skip to content

Commit

Permalink
send RouterInfo from NTCP2Server's thread
Browse files Browse the repository at this point in the history
  • Loading branch information
orignal committed Aug 22, 2018
1 parent 65cf14b commit b259ee8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libi2pd/NTCP2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,7 @@ namespace transport
void NTCP2Session::SendLocalRouterInfo ()
{
if (!IsOutgoing ()) // we send it in SessionConfirmed
SendRouterInfo ();
m_Server.GetService ().post (std::bind (&NTCP2Session::SendRouterInfo, shared_from_this ()));
}

NTCP2Server::NTCP2Server ():
Expand Down

0 comments on commit b259ee8

Please sign in to comment.