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
|
TrayTip, , Websocket Closed
|
||||||
this.Disconnect()
|
this.Disconnect()
|
||||||
|
ExitApp
|
||||||
}
|
}
|
||||||
|
|
||||||
OnError(Event)
|
OnError(Event)
|
||||||
{
|
{
|
||||||
TrayTip, , Websocket Error
|
TrayTip, , Websocket Error
|
||||||
|
this.Close()
|
||||||
}
|
}
|
||||||
|
|
||||||
__Delete()
|
__Delete()
|
||||||
|
|
Loading…
Reference in a new issue