liudianwei opened a new issue, #1610:
URL: https://github.com/apache/plc4x/issues/1610

   ### 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.
   
![image](https://github.com/apache/plc4x/assets/28178193/60296db2-a662-4a4d-94f8-ec3423fb0ca8)
   
![image](https://github.com/apache/plc4x/assets/28178193/9a27019f-fe5c-47d8-a909-6961c095a057)
   
![image](https://github.com/apache/plc4x/assets/28178193/84244ee0-bc0d-4b2e-9832-c886d3b0b24b)
   file location 
plc4x\plc4j\transports\serial\src\main\java\org\apache\plc4x\java\transport\serial
   
   
   ### Version
   
   latest
   
   ### Programming Languages
   
   - [X] plc4j
   - [ ] plc4go
   - [ ] plc4c
   - [ ] plc4net
   
   ### Protocols
   
   - [ ] AB-Ethernet
   - [ ] ADS /AMS
   - [ ] BACnet/IP
   - [ ] CANopen
   - [ ] DeltaV
   - [ ] DF1
   - [ ] EtherNet/IP
   - [ ] Firmata
   - [ ] KNXnet/IP
   - [X] Modbus
   - [ ] OPC-UA
   - [ ] S7


-- 
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: issues-unsubscr...@plc4x.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to