[BUG] making threadobject threads persistent doesn't work
CapnOdin opened this issue · 1 comments
CapnOdin commented
This won't be persistent if run as a thread
#Persistent
SetTimer((*) => ToolTip("Persistent Timer Running", , , 3), 100)
adding an infinite loop makes it stay running
#Persistent
SetTimer((*) => ToolTip("Busy Timer Running", , , 3), 100)
loop {
Sleep(100)
}
I tested it using the script bellow
#Persistent
timerThread := ThreadObj("#Include persistent timer.ahkh2")
loopThread := ThreadObj("#Include busy timer.ahkh2")
CapnOdin commented
If this is a known issue or limitation that I have missed then I apologize for wasting anyone's time.