mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-14 08:59:50 -05: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…
Reference in New Issue
Block a user