mirror of
https://github.com/corda/corda.git
synced 2025-01-07 13:38:47 +00:00
GC safety bugfix
This commit is contained in:
parent
80d3a286d1
commit
5a0e00ca39
@ -200,8 +200,8 @@ Avian_avian_SystemClassLoader_defineClass
|
||||
t->m->heap->free(buffer, length);
|
||||
|
||||
if (c) {
|
||||
PROTECT(t, c);
|
||||
if (getClassLoaderMap(t, loader) == 0) {
|
||||
PROTECT(t, c);
|
||||
object map = makeHashMap(t, 0, 0);
|
||||
set(t, loader, ClassLoaderMap, map);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user