plc4x-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Voss <svdevl...@gmail.com>
Subject Pending threads after connection.close
Date Wed, 09 Sep 2020 17:16:06 GMT
Hi guys,

I’m facing some issue when I try to quit my application. It seems connection.close() is
not stopping all pending threads. Is this a known issue or am I doing something wrong?

String url = "s7://...";
PlcDriverManager manager = new PlcDriverManager();
PlcConnection connection = manager.getConnection(url);
connection.close();
System.out.println("closed”);  // gets printed

Best regards,
Sebastian
Mime
View raw message