Re: Pending threads after connection.close

2020-09-09 Thread Christofer Dutz
Thanks for that,

I'll look into that ... but it will take a while as I haven't been able to do 
any serious paid work in the last few weeks (Actually almost 2 months).

So I'll be concentrating on finishing the next part of my PLC4C project in 
order to get re-financed by the EU.
Free community support will come back after that's done. I am always offering 
commercial support it it's time-critical.

If anyone else here wants to pick up the ball, or if you want to do it 
yourself, I'd be very happy about that.

Chris


Am 09.09.20, 20:51 schrieb "Sebastian Voss" :

Hi Chris,

Thanks for you instant feedback! I created a ticket 
https://issues.apache.org/jira/browse/PLC4X-249 
 and attached a thread dump. 
Hopefully this helps to  trace it down.

Best regards,
Sebastian

> On 9. Sep 2020, at 19:27, Christofer Dutz  
wrote:
> 
> HI Sebastian,
> 
> this is definitely something that I have seen happen.
> If you can help us track down the issue, we would be extremely thankful.
> 
> Chris
> 
> 
> Am 09.09.20, 19:16 schrieb "Sebastian Voss" :
> 
>Hi guys,
> 
>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
> 
>Best regards,
>Sebastian
> 




Re: Pending threads after connection.close

2020-09-09 Thread Sebastian Voss
Hi Chris,

Thanks for you instant feedback! I created a ticket 
https://issues.apache.org/jira/browse/PLC4X-249 
 and attached a thread dump. 
Hopefully this helps to  trace it down.

Best regards,
Sebastian

> On 9. Sep 2020, at 19:27, Christofer Dutz  wrote:
> 
> HI Sebastian,
> 
> this is definitely something that I have seen happen.
> If you can help us track down the issue, we would be extremely thankful.
> 
> Chris
> 
> 
> Am 09.09.20, 19:16 schrieb "Sebastian Voss" :
> 
>Hi guys,
> 
>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
> 
>Best regards,
>Sebastian
> 



Re: Pending threads after connection.close

2020-09-09 Thread Christofer Dutz
HI Sebastian,

this is definitely something that I have seen happen.
If you can help us track down the issue, we would be extremely thankful.

Chris


Am 09.09.20, 19:16 schrieb "Sebastian Voss" :

Hi guys,

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

Best regards,
Sebastian