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

ExcelRtdServer objects are leaked #5

Closed
govert opened this issue Apr 1, 2015 · 1 comment
Closed

ExcelRtdServer objects are leaked #5

govert opened this issue Apr 1, 2015 · 1 comment

Comments

@govert
Copy link
Member

govert commented Apr 1, 2015

Initially reported on CodePlex: https://exceldna.codeplex.com/discussions/581717#

RTD server objects derived from the ExcelRtdServer base class are not released by the registration mechanism after ServerTerminate(). As a result, the server instances live as long as the Excel process. This may have to do with the COM server support implemented by Excel-DNA.

A partial workaround to mitigate the memory leak might be to set all references to further managed objects in the ExcelRtdServer-derived class are set to null in the ServerTerminate() implementation.

@govert
Copy link
Member Author

govert commented Apr 23, 2015

This should be fixed with the registration changes in a32261d, 7ed697e and 6544cda.

@govert govert closed this as completed Apr 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant