This isn’t really a bug more of a question about how this could happen.
For example - I have a script, at the start of the loop there’s a function that checks if the account is logged in.
I have a login handler event that I execute in my onStart, in the constructor I setAsync(). In the execute() method I return 5000; if the account is logged in, if not I log the account in without pausing the script executor (as the loop is checking the opposite condition).
9/10 this login handler runs without interupping the main thread. Occasionaly it runs, the account logs in but the onLoop running on the main thread stops.
No errors in the log, nothing. Anyone ever experienced this before?