mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-01 21:56:06 -04:00
Fix crash at startup if jsonapi not enabled
This commit is contained in:
parent
bf98166197
commit
1c7f02655e
1 changed files with 1 additions and 0 deletions
|
@ -1249,6 +1249,7 @@ int RsServer::StartupRetroShare()
|
|||
mPluginsManager->loadPlugins(programatically_inserted_plugins) ;
|
||||
|
||||
#ifdef RS_JSONAPI
|
||||
if(jsonApiServer) // JsonApiServer may be disabled at runtime
|
||||
{
|
||||
mConfigMgr->addConfiguration("jsonApi.cfg", jsonApiServer);
|
||||
RsFileHash dummyHash;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue