To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=112747
                 Issue #|112747
                 Summary|ucb: ownership cycle in ucb
               Component|ucb
                 Version|DEV300m83
                Platform|All
                     URL|
              OS/Version|Linux
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|kso
             Reported by|cmc





------- Additional comments from [email protected] Mon Jun 28 09:21:33 +0000 
2010 -------
There's an ownership cycle in ucb where a UcbStore retains a reference to a
PropertySetRegistry, but a PropertySetRegistry retains an effective reference to
a UcbStore by calling acquire in its ctor on the UcbStore, and release in its 
dtor.

Seeing as each object hold a reference to the other neither can release the 
other.

The only thing PropertySetRegistry seems to need from a UcbStore is its "initial
arguments", so how about just cutting the knot by removing the backreference
from PropertySetRegistry to UcbStore and pass those in in the ctor instead

---------------------------------------------------------------------
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]

Reply via email to