added extra check when restarting rb service

This commit is contained in:
csoler 2019-11-24 09:40:35 +01:00
parent 52b0729b31
commit c2d47b01df
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C

View File

@ -41,6 +41,9 @@ bool RestbedService::restart()
bool RestbedService::stop()
{
if(!mService->is_up())
return true;
mService->stop();
RsThread::ask_for_stop();