mirror of
https://github.com/Ylianst/MeshAgent
synced 2025-12-24 04:04:31 +00:00
Fixed crash that could occur if Agent is launched on top of another instance.
This commit is contained in:
@@ -4568,6 +4568,7 @@ int MeshAgent_AgentMode(MeshAgentHostContainer *agentHost, int paramLen, char **
|
||||
}
|
||||
paramLen -= ixr;
|
||||
|
||||
if (agentHost->masterDb == NULL) { agentHost->masterDb = ILibSimpleDataStore_CreateCachedOnly(); }
|
||||
if (ILibSimpleDataStore_IsCacheOnly(agentHost->masterDb) == 0)
|
||||
{
|
||||
// Check to see if we need to import a settings file
|
||||
|
||||
Reference in New Issue
Block a user