streamdeck-plugin-template
streamdeck-plugin-template copied to clipboard
WebSocket stops working after PC is returning from sleep: WebSocket is already in CLOSING or CLOSED state
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.