mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-04 15:15:15 -04:00
Fix global shutdown call from JSON API
This commit is contained in:
parent
5dbbe1ffd7
commit
8c9310f754
2 changed files with 9 additions and 3 deletions
|
@ -397,8 +397,8 @@ int RsInit::InitRetroShare(const RsConfigOptions& conf)
|
|||
|
||||
#ifdef RS_JSONAPI
|
||||
// We create the JsonApiServer this early, because it is needed *before* login
|
||||
RsInfo() << __PRETTY_FUNCTION__
|
||||
<< "Allocating jsonAPI server (not launched yet)" << std::endl;
|
||||
RsDbg() << __PRETTY_FUNCTION__
|
||||
<< " Allocating JSON API server (not launched yet)" << std::endl;
|
||||
JsonApiServer* jas = new JsonApiServer();
|
||||
jas->setListeningPort(conf.jsonApiPort);
|
||||
jas->setBindingAddress(conf.jsonApiBindAddress);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue