Skip to content

Commit 7fcb892

Browse files
committed
Fix autoclicker process not ending upon window close
1 parent a52b0bd commit 7fcb892

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/AutoclickerGui.ahk

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ makeCheckable(name, checkbox, callback := 0, controls := []) {
2525

2626
AutoclickerGui := Gui("+AlwaysOnTop", "EC Autoclicker")
2727

28+
AutoclickerGui.OnEvent("Close", Close)
29+
2830
FileMenu := Menu()
2931
FileMenu.Add(
3032
SZ_TABLE.Menu_File_RunAsAdmin

0 commit comments

Comments
 (0)