My electron-connect server was crashing with ECONNRESET every time the browser process was being restarted, this seems to be due to the client process being killed and the socket not being closed correctly.
Changes proposed:
Simply, make the wrapper throw any exception beside ECONNRESET
Problem:
My electron-connect server was crashing with
ECONNRESET
every time the browser process was being restarted, this seems to be due to the client process being killed and the socket not being closed correctly.Changes proposed:
ECONNRESET