mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
don't notify before wait
This commit is contained in:
parent
7ba4af7e2e
commit
32466e3804
2 changed files with 9 additions and 14 deletions
|
@ -479,7 +479,8 @@ namespace client
|
|||
{
|
||||
if (!m_Pool || !IsReady ())
|
||||
{
|
||||
if (requestComplete) requestComplete (nullptr);
|
||||
if (requestComplete)
|
||||
m_Service.post ([requestComplete](void){requestComplete (nullptr);});
|
||||
return false;
|
||||
}
|
||||
m_Service.post (std::bind (&LeaseSetDestination::RequestLeaseSet, shared_from_this (), dest, requestComplete));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue