Changeset 7166


Ignore:
Timestamp:
2004-03-31T11:49:55+12:00 (20 years ago)
Author:
mdewsnip
Message:

Added a null pointer check.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/collection/CollectionManager.java

    r7161 r7166  
    225225    undo.clear();
    226226    Gatherer.config.setCollectionConfiguration(null);
    227     Gatherer.g_man.collectionChanged(false);
     227    if (Gatherer.g_man != null) {
     228        Gatherer.g_man.collectionChanged(false);
     229    }
    228230    // All of the consequences of a close should have been processed by now, so others should now see the collection as non-ready.
    229231    closing_thread = null;
Note: See TracChangeset for help on using the changeset viewer.