mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-14 17:07:17 -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()
|
bool RestbedService::stop()
|
||||||
{
|
{
|
||||||
|
if(!mService->is_up())
|
||||||
|
return true;
|
||||||
|
|
||||||
mService->stop();
|
mService->stop();
|
||||||
|
|
||||||
RsThread::ask_for_stop();
|
RsThread::ask_for_stop();
|
||||||
|
Loading…
Reference in New Issue
Block a user