incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 120029] All GlobalAcceleratorConfiguration objects leaks
Date Wed, 20 Jun 2012 06:23:18 GMT
https://issues.apache.org/ooo/show_bug.cgi?id=120029

zhang jianfang <zhangjf@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #78400|                            |review?
              Flags|                            |

--- Comment #3 from zhang jianfang <zhangjf@apache.org> ---
Created attachment 78400
  --> https://issues.apache.org/ooo/attachment.cgi?id=78400&action=edit
patch for globalacceleratorconfiguration object leak problem

The fix is to add XComponent interface implementation on
XCUBasedAcceleratorConfiguration, it is inherited by both
GlobalAcceleratorConfiguration and ModuleAcceleratorConfiguration.  Then call
it's dispose() API in ToolbarManager, MenuBarManager and
moduleuiconfigurationmanager's dispose() api.

Here ModuleAcceleratorConfiguration.dispose() is not critical because it is
rarely called, but for constancy it is also implemented.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Mime
View raw message