To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=69104 Issue #|69104 Summary|desktop: drop resources on exit (?) Component|framework Version|OOo 2.0.3 Platform|All URL| OS/Version|Linux Status|NEW Status whiteboard| Keywords| Resolution| Issue type|PATCH Priority|P3 Subcomponent|code Assigned to|tm Reported by|cmc
------- Additional comments from [EMAIL PROTECTED] Wed Aug 30 06:26:39 -0700 2006 ------- Here's what I think I see... impl_checkRecoveryState gets called in desktop/source/app/app.cxx and createInstance of com.sun.star.frame.AutoRecovery get called. The returned reference is dropped immediately, but AutoRecovery continues to exist becase through ctor it as created a com.sun.star.frame.GlobalEventBroadcaster and has called addEventListener on it with itself the AutoRecovery object So AutoRecovery holds a reference to the GlobalEventBroadcaster, and the GlobalEventBroadcaster holds a refererence to the AutoRecovery object, so neither gets cleanly destroyed. The following patch gets AutoRecovery to stop listening, and remove itself from the GlobalEventBroadcaster on shutdown, which then enabled both of them to be released. (additionally m_pLockfile which is new'ed but not deleted is also removed in this dtor). Is this reasonable ?, or perhaps just not a good idea ? --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
