Update LedKeyboardShortcuts.ahk
auto exits the script if there is an error
This commit is contained in:
parent
535b5cdfef
commit
441d61aa4e
1 changed files with 2 additions and 0 deletions
|
@ -195,11 +195,13 @@ class Example extends WebSocket
|
|||
{
|
||||
TrayTip, , Websocket Closed
|
||||
this.Disconnect()
|
||||
ExitApp
|
||||
}
|
||||
|
||||
OnError(Event)
|
||||
{
|
||||
TrayTip, , Websocket Error
|
||||
this.Close()
|
||||
}
|
||||
|
||||
__Delete()
|
||||
|
|
Loading…
Reference in a new issue