mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 14:45:12 -04:00
added extra check when restarting rb service
This commit is contained in:
parent
52b0729b31
commit
c2d47b01df
1 changed files with 3 additions and 0 deletions
|
@ -41,6 +41,9 @@ bool RestbedService::restart()
|
|||
|
||||
bool RestbedService::stop()
|
||||
{
|
||||
if(!mService->is_up())
|
||||
return true;
|
||||
|
||||
mService->stop();
|
||||
|
||||
RsThread::ask_for_stop();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue