You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@plc4x.apache.org by "Christofer Dutz (Jira)" <ji...@apache.org> on 2020/09/10 08:32:00 UTC

[jira] [Commented] (PLC4X-249) Pending threads after connection.close

    [ https://issues.apache.org/jira/browse/PLC4X-249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17193461#comment-17193461 ] 

Christofer Dutz commented on PLC4X-249:
---------------------------------------

Perhaps [~jfeinauer] can help with this sort of issue ... he knows Netty better than I do.

> Pending threads after connection.close
> --------------------------------------
>
>                 Key: PLC4X-249
>                 URL: https://issues.apache.org/jira/browse/PLC4X-249
>             Project: Apache PLC4X
>          Issue Type: Bug
>          Components: Driver-S7
>    Affects Versions: 0.7.0, 0.8.0
>            Reporter: Sebastian Voss
>            Priority: Minor
>         Attachments: thread_dump.txt
>
>
> 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?
> {code:java}
> String url = "s7://...";
> PlcDriverManager manager = new PlcDriverManager();
> PlcConnection connection = manager.getConnection(url);
> connection.close();
> System.out.println("closed”);  // gets printed but hangs afterwards{code}
> I created a thread dump which is attached.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)