CraZySacX / node-jdbc

JDBC Wrapper for node.js
140 stars 106 forks source link

Program Does not end #231

Open enniogonzalez opened 2 years ago

enniogonzalez commented 2 years ago

Hello,

I have created a small .js file with this lines of code

// test.js
const JDBC = require('jdbc');

console.log('should end')

If i execute this code, the execution of this program will last forever

Platform: Windows 11 node version: v14.19.1

akorov commented 1 year ago

The issue is with node-java: https://github.com/joeferner/node-java/issues/539

For a workaround - change node-java to fork/branch from linked PR and then you can issue jinst.getInstance().stop() to gracefully terminate.