fix another core caused by deleted coll. manual merge of d6fe684b996a65203c0049a06f2994470286b96b

This commit is contained in:
Brian Rasmusson
2016-03-17 20:36:51 +01:00
parent 7f7aa4771b
commit 13a9c75155

@ -2245,6 +2245,14 @@ bool SpiderColl::evalIpLoop ( ) {
bool inCache = false;
bool useCache = true;
CollectionRec *cr = g_collectiondb.getRec ( m_collnum );
// did our collection rec get deleted? since we were doing a read
// the SpiderColl will have been preserved in that case but its
// m_deleteMyself flag will have been set.
if ( tryToDeleteSpiderColl ( this ,"6") ) return false;
// if doing site or page quotes for the sitepages or domainpages
// url filter expressions, we can't muck with the cache because
// we end up skipping the counting part.