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

Spawning thread rapidly may lead to crash #1

Open
nomi-san opened this issue Jun 26, 2022 · 1 comment
Open

Spawning thread rapidly may lead to crash #1

nomi-san opened this issue Jun 26, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@nomi-san
Copy link
Owner

Run script in AutoIt.exe interpreter and spawn thread rapidly may lead to crash.
Because the interpreter lock the script file and next access denied will throw an exception.

for $i = 0 to 10
  NRun('task')
  Sleep(100)  ; just add this
next

In compiled EXE, sleep(10) works fine.

@nomi-san nomi-san added the bug Something isn't working label Jun 26, 2022
@ngocdg
Copy link

ngocdg commented Jan 2, 2023

compile the script with

#AutoIt3Wrapper_Change2CUI=y

also reproduce the same bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants