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

Sebastian Voss commented on PLC4X-249:
--------------------------------------

Hi [~julian.feinauer], thanks for your feedback! I just tried with the latest 
0.8.0-SNAPSHOT (plc4j-driver-s7-0.8.0-20200914.08040
9-1.jar) and it show the same behaviour. I will try to look into this in more 
detail. If you have some pointers for me it would be great.

> 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
>            Assignee: Julian Feinauer
>            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