From 441d61aa4e98d10c791f01620945e64095123dad Mon Sep 17 00:00:00 2001 From: flagstone78 Date: Sun, 15 Apr 2018 16:10:54 -0600 Subject: [PATCH] Update LedKeyboardShortcuts.ahk auto exits the script if there is an error --- clients/AutoHotKey/LedKeyboardShortcuts.ahk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clients/AutoHotKey/LedKeyboardShortcuts.ahk b/clients/AutoHotKey/LedKeyboardShortcuts.ahk index ac93703..957a538 100644 --- a/clients/AutoHotKey/LedKeyboardShortcuts.ahk +++ b/clients/AutoHotKey/LedKeyboardShortcuts.ahk @@ -195,11 +195,13 @@ class Example extends WebSocket { TrayTip, , Websocket Closed this.Disconnect() + ExitApp } OnError(Event) { TrayTip, , Websocket Error + this.Close() } __Delete()