@morpheus93 said in BAS crashing because of Qt Error:
@m4zuper It seemed the crash is triggered by a check for the nuber of items in a resource and a following "success" step if the resource is empty to achieve the "graceful" ending of the single threads of a multithreaded function call.
Unfortunately this causes some kind of "endless loop" as the very last thread triggers the "success" step again and again (and not as expected only 1 time) until the script crashes or Windows stops the thread.
It might be that:
success == error, e.g., throw some exception with success state(?).
You ignore errors, so success are also ignored(?).
In any case, it's a very bad pattern to ignore errors in large code blocks.