-
Notifications
You must be signed in to change notification settings - Fork 412
add nppAnotherMarkdownPlugin #1018
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
Conversation
|
@mohzy83 You might want to take a look at it and check what might be worth backporting @ezyuzin "memory leaks inherited from parental plugin" from https://github.com/ezyuzin/NppAnotherMarkdown/releases/tag/0.1.1 Does parental mean that there are leaks in the NppMarkdownPanel ? Json files here should be sorted alphabetically could you please move your new entry accordingly after AnalysePlugin. Thanks. |
I have no idea, but I'm aware of at least one unpatched issue with the upstream MarkdowPanel's (dated) infrastructure: the
It seems the latest version of the fork has not corrected this. At the very least, I would also suggest basing the new plugin on Mark Olson's updated .NET Framework template, which eliminates a build-time dependency on .NET 3.5 (a feature scheduled for removal in a future Windows release). |
@chcg es, NppMarkdownPanel has these issues, but they do not appear to be major. The amount of unreleased memory is relatively small and becomes noticeable only if the plugin is frequently closed and reopened. In this scenario, some unmanaged resources are not freed after the form is closed and are allocated again when the preview form is reopened. Specifically, the form and EdgeView allocate structures from HGlobal. dispose patten was added:
Done, json entries sorted as you asked |
|
@rdipardo tnx, I'm cherrypicked fixes with structure sizes too |
|
@ezyuzin You might want to have a look at mohzy83/NppMarkdownPanel#143 regarding CI you currently added to your repo. |
Successful testing: appeared in PA, downloaded, and worked as expected for x64 and x86 bit versions.