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

lock listeners #78

Merged
merged 1 commit into from
Dec 13, 2024
Merged

lock listeners #78

merged 1 commit into from
Dec 13, 2024

Conversation

YoshihiroIto
Copy link
Contributor

There is a problem with listeners becoming an exception during iteration.
This has been fixed in this pull request.

System.InvalidOperationException: InvalidOperation_EnumFailedVersion
   at System.Collections.Generic.List`1.Enumerator.MoveNext()
   at TextMateSharp.Model.TMModel.Emit(ModelTokensChangedEvent e) in /_/src/TextMateSharp/Model/TMModel.cs:line 378
   at TextMateSharp.Model.TMModel.BuildEventWithCallback(Action`1 callback) in /_/src/TextMateSharp/Model/TMModel.cs:line 372
   at TextMateSharp.Model.TMModel.TokenizerThread.RevalidateTokens(Int32 startLine, Nullable`1 toLineIndexOrNull) in /_/src/TextMateSharp/Model/TMModel.cs:line 120
   at TextMateSharp.Model.TMModel.TokenizerThread.ThreadWorker(Object state) in /_/src/TextMateSharp/Model/TMModel.cs:line 101

@danipen
Copy link
Owner

danipen commented Dec 13, 2024

Thanks for the contribution.

@danipen danipen merged commit 1d139b0 into danipen:master Dec 13, 2024
@danipen
Copy link
Owner

danipen commented Dec 13, 2024

https://www.nuget.org/packages/TextMateSharp/1.0.65

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

Successfully merging this pull request may close these issues.

2 participants