Dumping loaded classes are not working
pietro-lopes opened this issue ยท 0 comments
Calling ContextFactory#enter() here will only return a new instance of Context because you are calling this from the ProbeJSDumpThread and that function calls a ThreadLocal<Context>
You might need to delegate that call to the appropriated thread like using
Minecraft.getInstance().submit(...) or
ServerLifecycleHooks.getCurrentServer().submit(...)