ray:: memory cleanup with fixed map

This commit is contained in:
Zeno Rogue committed 2021-02-23 05:33:35 +01:00
1 parent aee985f3d1
commit f1ecf0ecac
1 file changed
+2 -1
+2 -1
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