mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-16 19:28:48 -04:00
fixed compilation by modifying wrappers to account for the shared_ptr mService
This commit is contained in:
parent
009ed54ce2
commit
b8b7d103e1
9 changed files with 33 additions and 57 deletions
|
@ -326,7 +326,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
QString sessionDelayedClose;
|
||||
if(hasMultiCallback)
|
||||
sessionDelayedClose = "RsThread::async( [=](){ std::this_thread::sleep_for(std::chrono::seconds(maxWait+120)); mService.schedule( [=](){ auto session = weakSession.lock(); if(session && session->is_open()) session->close(); } ); } );";
|
||||
sessionDelayedClose = "RsThread::async( [=](){ std::this_thread::sleep_for(std::chrono::seconds(maxWait+120)); mService->schedule( [=](){ auto session = weakSession.lock(); if(session && session->is_open()) session->close(); } ); } );";
|
||||
|
||||
QString callbackParamsSerialization;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue