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

Julian Feinauer commented on PLC4X-249:
---------------------------------------

Hi [~svoss] thanks for your issue.
>From what I see this looks totally valid for me and should terminate.
I remember that we had an issue reported about the WorkerGroup staying open 
some weeks ago but this one was fixed by me. 
Did you try the 0.7.0 Release or a current snapshot?
If its in a current snapshot we would need to check the complete Netty cleanup. 
Probably I missed something although I would _think_ its fine atm.

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

Reply via email to