streamdeck-plugin-template icon indicating copy to clipboard operation
streamdeck-plugin-template copied to clipboard

WebSocket stops working after PC is returning from sleep: WebSocket is already in CLOSING or CLOSED state

Open CrazyCoder opened this issue 3 years ago • 4 comments

I noticed extensions based on this template may stop working when the PC is waking from sleep (Windows 10).

api.js:160 WebSocket is already in CLOSING or CLOSED state.
send	@	api.js:160
setTitle	@	stream-deck.js:94
sendRequest	@	app.js:63

API needs to handle this case and create a new socket automatically.

CrazyCoder avatar Jan 11 '23 03:01 CrazyCoder