Thanks to visit codestin.com
Credit goes to github.com

Skip to content

lock listeners#78

Merged
danipen merged 1 commit intodanipen:masterfrom
YoshihiroIto:master
Dec 13, 2024
Merged

lock listeners#78
danipen merged 1 commit intodanipen:masterfrom
YoshihiroIto:master

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