mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-23 06:31:20 -04:00
Use shutdownSync instead of shutdown in TorManager::run to stop tor
This commit is contained in:
parent
72e52b998c
commit
72eb21bbca
1 changed files with 1 additions and 1 deletions
|
@ -462,7 +462,7 @@ void TorManager::run()
|
||||||
std::this_thread::sleep_for(std::chrono::milliseconds(50));
|
std::this_thread::sleep_for(std::chrono::milliseconds(50));
|
||||||
}
|
}
|
||||||
|
|
||||||
d->control->shutdown();
|
d->control->shutdownSync();
|
||||||
d->process->stop();
|
d->process->stop();
|
||||||
|
|
||||||
if(rsEvents)
|
if(rsEvents)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue