mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 08:59:37 -05:00
Fix crash at startup if jsonapi not enabled
This commit is contained in:
parent
bf98166197
commit
1c7f02655e
@ -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…
Reference in New Issue
Block a user