Ignore:
Timestamp:
2011-10-13T21:45:21+13:00 (13 years ago)
Author:
ak19
Message:

Related to bugfix of previous commit: this time, not only is the mgsearch object unloaded, but following the suggestion in the existing comment, the mgppsearch and lucenesearch objects are also unloaded() in the two occasions where mgsearch is.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/colservr/collectset.cpp

    r24757 r24758  
    496496  }
    497497#endif
     498#ifdef ENABLE_MGPP
     499  if (mgppsearch != NULL) {
     500    mgppsearch->unload_database();
     501  }
     502#endif
     503#ifdef ENABLE_LUCENE
     504  if (lucenesearch != NULL) {
     505    lucenesearch->unload_database();
     506  }
     507#endif
    498508
    499509  // now delete the collection server objects
     
    594604  }
    595605#endif
     606#ifdef ENABLE_MGPP
     607  if (mgppsearch != NULL) {
     608    mgppsearch->unload_database();
     609  }
     610#endif
     611#ifdef ENABLE_LUCENE
     612  if (lucenesearch != NULL) {
     613    lucenesearch->unload_database();
     614  }
     615#endif
    596616
    597617  // now delete the collection server object
Note: See TracChangeset for help on using the changeset viewer.