Skip to content

Load resource stream outside of delegate - #3389

Merged
siegfriedpammer merged 1 commit into
icsharpcode:masterfrom
snorrk:master
Feb 8, 2025
Merged

Load resource stream outside of delegate#3389
siegfriedpammer merged 1 commit into
icsharpcode:masterfrom
snorrk:master

Conversation

@snorrk

@snorrk snorrk commented Feb 7, 2025

Copy link
Copy Markdown
Contributor

Fixes Lazy loaded highlight definition failing when clear and add assemblies.

Problem

Reading from the Manifest Resource Stream inside of the RegisterHighlighting delegate seems to result in malformed reads (possibly due to threading issues).

Solution

Workaround is to read the stream before registering the delegate.

@siegfriedpammer

Copy link
Copy Markdown
Member

Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants