mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-25 14:56:28 -05:00
Use shutdownSync instead of shutdown in TorManager::run to stop tor
This commit is contained in:
parent
72e52b998c
commit
72eb21bbca
@ -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…
x
Reference in New Issue
Block a user