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

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

     [ https://issues.apache.org/jira/browse/PLC4X-249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebastian Voss updated PLC4X-249:
---------------------------------
    Priority: Minor  (was: Critical)

> 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)