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

GetCompletion() runs on background thread and doesn't check whether text view is closed #94

Open
olegtk opened this issue Jun 10, 2024 · 0 comments

Comments

@olegtk
Copy link

olegtk commented Jun 10, 2024

GetCompletion() method is executed on background thread and it makes some non thread safe calls like _textViewAdapter.GetCaretPos(), which will crash VS if the text view is already closed by the time GetCompletion() is executing.
Check that text view is not closed and switch to UI thread when making such calls. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant