We want to fix this bug but we need a reproducible case before we can do that. I have implemented the incomplete sample code in the first post and it does not trigger this behavior and the relatively few reports of the issue means that it must be something specific that is being done in certain Lua code that is triggering the issue. I have tried repeatedly to reproduce the problem using any of the sample apps that use the audio library but nothing I do triggers it. If I don’t know what causes the bug, I can’t fix it.
I hesitate to suggest the obvious, but if the automatic reload on file change feature is causing problems for you, just turn it off in the Preferences and you wont be any worse off than before the feature was added.