|
|
|
@ -1621,7 +1621,7 @@ void plResManager::UnloadPageObjects(plRegistryPageNode* pageNode, UInt16 classI
|
|
|
|
|
plRegistryPageNode* plResManager::FindPage(const plLocation& location) const |
|
|
|
|
{ |
|
|
|
|
// Quick optimization
|
|
|
|
|
if (fLastFoundPage != nil && fLastFoundPage->GetPageInfo().GetLocation() == location) |
|
|
|
|
if (fLastFoundPage != nil && fLastFoundPage->IsValid() && fLastFoundPage->GetPageInfo().GetLocation() == location) |
|
|
|
|
return fLastFoundPage; |
|
|
|
|
|
|
|
|
|
PageSet::const_iterator it; |
|
|
|
|