mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-15 01:17:16 -05:00
Fixup jsonapi server stopping
This commit is contained in:
parent
f12ec2b535
commit
33c2f56a8e
@ -605,7 +605,7 @@ void JsonApiServer::restart()
|
|||||||
void JsonApiServer::onStopRequested()
|
void JsonApiServer::onStopRequested()
|
||||||
{
|
{
|
||||||
RS_STACK_MUTEX(mServiceMutex);
|
RS_STACK_MUTEX(mServiceMutex);
|
||||||
if(mService->is_up()) mService->stop();
|
mService->stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
uint16_t JsonApiServer::listeningPort() const { return mListeningPort; }
|
uint16_t JsonApiServer::listeningPort() const { return mListeningPort; }
|
||||||
|
Loading…
Reference in New Issue
Block a user