ray:: memory cleanup with fixed map

This commit is contained in:
Zeno Rogue 2021-02-23 05:33:35 +01:00
parent aee985f3d1
commit f1ecf0ecac
1 changed files with 2 additions and 1 deletions

View File

@ -2108,7 +2108,8 @@ int readArgs() {
return 0;
}
auto hook = addHook(hooks_args, 100, readArgs);
auto hook = addHook(hooks_args, 100, readArgs)
+ addHook(hooks_clearmemory, 40, [] { rmap = {}; });
#endif
#if CAP_CONFIG