Update LedKeyboardShortcuts.ahk

auto exits the script if there is an error
This commit is contained in:
flagstone78 2018-04-15 16:10:54 -06:00 committed by GitHub
parent 535b5cdfef
commit 441d61aa4e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -195,11 +195,13 @@ class Example extends WebSocket
{ {
TrayTip, , Websocket Closed TrayTip, , Websocket Closed
this.Disconnect() this.Disconnect()
ExitApp
} }
OnError(Event) OnError(Event)
{ {
TrayTip, , Websocket Error TrayTip, , Websocket Error
this.Close()
} }
__Delete() __Delete()