Closed deinhofer closed 7 years ago
fixed with https://github.com/asterics/AsTeRICS/pull/192 With this the readerThread is interrupted, if a socketException occurs (e.g. IrTrans server is closed) and the endless exceptions are stopped. However I did not implement any automatic re-open attempts if IrTrans server is started again. I think this is not the most important thing, especially if you keep in mind that we even do not know if anyone uses this feature of IrTrans right now. (But AsTeRICS-Ergo works after re-opening IrTrans server, thats the important thing for us :))
So to my mind the issue is fixed and I'll close it.
Tested with Asterics Ergo 3.3.0:
Start Asterics Ergo with a connected IrTrans device. If you then close the IrTransServer program an endless SocketException occurs:
While this is clear because closing IrTransServer closes the socket it should not endlessly try to read from it in an endless loop without sleep in between.