1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2026-01-20 01:13:21 +00:00

Updated GC handling

This commit is contained in:
Bryan Roe
2021-02-23 14:48:20 -08:00
parent f8f657d730
commit 38f4244bd1
9 changed files with 392 additions and 25 deletions

View File

@@ -5534,6 +5534,14 @@ void MeshAgent_ScriptMode(MeshAgentHostContainer *agentHost, int argc, char **ar
gEventEmitterReferenceHold = atoi(tmp + 1);
}
}
else if (strncmp(argv[i], "--finalizer-messages=", 21) == 0)
{
char *tmp = strstr(argv[i], "=");
if (tmp != NULL)
{
g_displayFinalizerMessages = atoi(tmp + 1);
}
}
else
{
// Unhandled arguments, passed to JavaScript