mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
WASM: don't write Address objects to GC roots
This commit is contained in:
parent
fcf0394214
commit
ff6a917bc3
|
@ -259,7 +259,7 @@ public class WasmClassGenerator {
|
|||
return true;
|
||||
}
|
||||
if (cls.getName().equals(Address.class.getName())) {
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
while (cls != null) {
|
||||
if (cls.getName().equals(Structure.class.getName()) || cls.getName().equals(Function.class.getName())) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user