node-java-bridge
node-java-bridge copied to clipboard
[Investigate] Application crashing when `uv_run` is used
The application sometimes crashes when the runEventLoopWhenInterfaceProxyIsActive
option is enabled.
This option internally executes uv_run
in order to force the event loop to run, so the application doesn't lock if an interface proxy is called synchronously:
https://github.com/MarkusJx/node-java-bridge/blob/001b5aa22bf1a1da3feb8f015858cd81b4e50cbd/crates/java-bridge/src/node/java_class_instance.rs#L369