Milo-netty-event-loop threads still open when disconnect my OPC UA Client

98 Views Asked by At

I have a software for DIN 4.0 used to connect my software with device of industrial machine device. In this software i used "Milo Eclipse v0.6.6" library for OPC UA connection. When i create my OPC UA client, some threads, including "milo-netty-event-loop", are open and when i disconnect my OPC UA client this thread remain open. How i can close this threads?

I've already tried close this thread witch method "Stack.releaseSharedResources ();" but this close all thread and not just those related to the client i'm disconnecting. This leads to all devices I currently have connected to malfunction.

1

There are 1 best solutions below

3
On

The event loop threads are shared by all client instances. The thread pool will exist for the lifetime of the application, or until Stack.releaseSharedResources is called.

Don't worry about it.