modbus over serial port(com) could not closed successfully, try to call PlcConnection.close() when com disconnect, it will be in an endless loop. the major reason is that it will call channel close by netty automatically when shutdown NioEventLoop, and serial channel will put an doClose in eventLoop, it will call close again because eventLoopUp is not empty, and than, trapped in a dead cycle...
temp solution:
close method should only support call once.
file location plc4x\plc4j\transports\serial\src\main\java\org\apache\plc4x\java\transport\serial
What happened?
modbus over serial port(com) could not closed successfully, try to call PlcConnection.close() when com disconnect, it will be in an endless loop. the major reason is that it will call channel close by netty automatically when shutdown NioEventLoop, and serial channel will put an doClose in eventLoop, it will call close again because eventLoopUp is not empty, and than, trapped in a dead cycle... temp solution: close method should only support call once. file location plc4x\plc4j\transports\serial\src\main\java\org\apache\plc4x\java\transport\serial
Version
latest
Programming Languages
Protocols