frankpuppa commented on issue #2229:
URL: https://github.com/apache/plc4x/issues/2229#issuecomment-3228379669

   Hello @glcj,
   calling close on a disconnected connection raises an exception. Which 
eventually must be reopened using the 
   ```
   plcConnection = connectionManager.getConnection(plcConnectionString);
   ```
   I had tried this and under these circumstances, when the new connection 
opens correctly a new pool is created while the previous sits waiting.. 
   I also tried to manually close the DefaultNettyPlcConnection as such:
   ```
   EventLoopGroup group = ((DefaultNettyPlcConnection) 
connection).getChannel().eventLoop().parent();
   group.shutdownGracefully();
   ```
   but it did not help..


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to