You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@plc4x.apache.org by GitBox <gi...@apache.org> on 2022/11/09 10:19:39 UTC
[GitHub] [plc4x] ottlukas opened a new issue, #602: Pending threads after connection.close
ottlukas opened a new issue, #602:
URL: https://github.com/apache/plc4x/issues/602
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 but
hangs afterwards
```
I created a thread dump which is attached.
Imported from Jira [PLC4X-249](https://issues.apache.org/jira/browse/PLC4X-249). Original Jira may contain additional context.
Reported by: svoss.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@plc4x.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Pending threads after connection.close
Posted by "chrisdutz (via GitHub)" <gi...@apache.org>.
chrisdutz closed issue #602: Pending threads after connection.close
URL: https://github.com/apache/plc4x/issues/602
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@plc4x.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Pending threads after connection.close
Posted by "glcj (via GitHub)" <gi...@apache.org>.
glcj commented on issue #602:
URL: https://github.com/apache/plc4x/issues/602#issuecomment-1937363860
I made some improvements in version 0.6.1. The one you are running is the default one and so far I have not had any problems. I think it can be closed. +1, close
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@plc4x.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] Pending threads after connection.close
Posted by "chrisdutz (via GitHub)" <gi...@apache.org>.
chrisdutz commented on issue #602:
URL: https://github.com/apache/plc4x/issues/602#issuecomment-1937103342
I have checked this for most drivers and these zombie threads seem to have been fixed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@plc4x.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org