ObjectControl not crashing if an object suddenly disconnect from server.#180
Conversation
LukasWikander
left a comment
There was a problem hiding this comment.
Discussed this in person. uiRecvMonitor causes the crash. Also, Jenkins complains 😢
…ol when checking current state.
|
Lukas, take a look at this again. |
LukasWikander
left a comment
There was a problem hiding this comment.
Looks good! Two small changes, plus whatever Jenkins is complaining about (I'm guessing that you can just run formatSourceFiles.sh)
|
When an object suddenly disconnects from the server when ObjectControl is in state RUNNING, CONNECTED or ARMED it disconnects from all other objects and then goes to IDLE. |
Not trying to do close(*socket) on the socket that has disconnected.