Now, touch win1.html or touch win2.html to trigger electron-connect's server reload()
Actual Result
Error: Object has been destroyed is seen on the console.
Error: Object has been destroyed
at Error (native)
at EventEmitter.<anonymous> (/Users/ssettipalli/Downloads/_personal_work/opensource/electron-connect/lib/client.js:114:21)
at emitOne (events.js:101:20)
at EventEmitter.emit (events.js:188:7)
at EventEmitter.<anonymous> (/Users/ssettipalli/Downloads/_personal_work/opensource/electron-connect/lib/client.js:64:16)
at emitTwo (events.js:106:13)
at WebSocket.emit (events.js:191:7)
at Receiver.ontext (/Users/ssettipalli/Downloads/_personal_work/opensource/electron-connect/node_modules/ws/lib/WebSocket.js:841:10)
at /Users/ssettipalli/Downloads/_personal_work/opensource/electron-connect/node_modules/ws/lib/Receiver.js:536:18
at /Users/ssettipalli/Downloads/_personal_work/opensource/electron-connect/node_modules/ws/lib/Receiver.js:368:7
Steps to recreate the issue
gulp serve
touch win1.html
ortouch win2.html
to trigger electron-connect's serverreload()
Actual Result
Error: Object has been destroyed
is seen on the console.Expected Result
Throws no error.