Ignore:
Timestamp:
2005-02-14T11:34:01+13:00 (19 years ago)
Author:
mdewsnip
Message:

Fixed bug where CollectionContentsChangedListener isn't removed from destroyed PluginManager object.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/cdm/PluginManager.java

    r8853 r9019  
    115115
    116116    /** Destructor. */
    117     public void destroy() {
    118     if(controls != null) {
     117    public void destroy()
     118    {
     119    Gatherer.c_man.removeCollectionContentsChangedListener(this);
     120
     121    if (controls != null) {
    119122        controls.destroy();
    120123        controls = null;
    121124    }
     125
    122126    library.clear();
    123127    library = null;
Note: See TracChangeset for help on using the changeset viewer.