node-java-bridge icon indicating copy to clipboard operation
node-java-bridge copied to clipboard

[Investigate] Application crashing when `uv_run` is used

Open MarkusJx opened this issue 1 year ago • 0 comments

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

MarkusJx avatar Aug 29 '23 14:08 MarkusJx