Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(devins-lang): fix asynchronous execution issue #100
Add atomic reference and use invokeAndWait to ensure proper asynchronous execution, preventing race conditions. This commit fixes an issue in DevInsProgramRunner where asynchronous execution could result in race conditions. By adding an atomic reference and using invokeAndWait, the asynchronous execution is now handled in a thread-safe manner.
- Loading branch information