- explicitly call Destroy in PClass::StaticShutdown because some class type objects were no longer automatically collected.

This commit is contained in:
Christoph Oelckers 2016-11-19 18:09:34 +01:00
parent 7595343aaa
commit 74c5659fc5
1 changed files with 1 additions and 0 deletions

View File

@ -2765,6 +2765,7 @@ void PClass::StaticShutdown ()
uniqueFPs.Push(const_cast<size_t *>(type->FlatPointers));
}
}
type->Destroy();
}
for (i = 0; i < uniqueFPs.Size(); ++i)
{