Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] making threadobject threads persistent doesn't work #29

Open
CapnOdin opened this issue Jun 11, 2021 · 1 comment
Open

[BUG] making threadobject threads persistent doesn't work #29

CapnOdin opened this issue Jun 11, 2021 · 1 comment

Comments

@CapnOdin
Copy link

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
Copy link
Author

If this is a known issue or limitation that I have missed then I apologize for wasting anyone's time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant