Skip to content

Commit

Permalink
Fix AuraService resetService task
Browse files Browse the repository at this point in the history
  • Loading branch information
SaifAqqad committed Dec 23, 2023
1 parent 18ba7af commit e6c4c64
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/AuraService.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,11 @@ RunTasks(){
lastTask := task
case "resetService":
aura.releaseControl()
tasks.Push(lastTask)
Sleep, 100
tasks := [{type: "startService"}, lastTask]
case "startService":
aura.takeControl()
Sleep, 100
case "pauseService":
aura.releaseControl()
lastTask := ""
Expand Down

0 comments on commit e6c4c64

Please sign in to comment.