-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add @mainactor annotations to improve thread safety in completion han…
…dling This commit applies the @mainactor attribute to methods associated with autocomplete functionality in STTextView. This ensures that operations that involve UI updates occur on the main thread, preventing potential threading issues. Additionally, it improves the handling of completion window visibility and closing logic.
- Loading branch information
1 parent
878565e
commit 984e18c
Showing
1 changed file
with
13 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters