diff --git a/libretroshare/src/jsonapi/jsonapi.cpp b/libretroshare/src/jsonapi/jsonapi.cpp index a9aac873c..b9ddb867c 100644 --- a/libretroshare/src/jsonapi/jsonapi.cpp +++ b/libretroshare/src/jsonapi/jsonapi.cpp @@ -605,7 +605,7 @@ void JsonApiServer::restart() void JsonApiServer::onStopRequested() { RS_STACK_MUTEX(mServiceMutex); - if(mService->is_up()) mService->stop(); + mService->stop(); } uint16_t JsonApiServer::listeningPort() const { return mListeningPort; }