mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-03-15 11:36:42 -04:00
added extra check when restarting rb service
This commit is contained in:
parent
52b0729b31
commit
c2d47b01df
@ -41,6 +41,9 @@ bool RestbedService::restart()
|
||||
|
||||
bool RestbedService::stop()
|
||||
{
|
||||
if(!mService->is_up())
|
||||
return true;
|
||||
|
||||
mService->stop();
|
||||
|
||||
RsThread::ask_for_stop();
|
||||
|
Loading…
x
Reference in New Issue
Block a user