From 74c5659fc586e59d495e2295f1833a44ed26479b Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sat, 19 Nov 2016 18:09:34 +0100 Subject: [PATCH] - explicitly call Destroy in PClass::StaticShutdown because some class type objects were no longer automatically collected. --- src/dobjtype.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dobjtype.cpp b/src/dobjtype.cpp index 5154d1689..965a0d8fd 100644 --- a/src/dobjtype.cpp +++ b/src/dobjtype.cpp @@ -2765,6 +2765,7 @@ void PClass::StaticShutdown () uniqueFPs.Push(const_cast(type->FlatPointers)); } } + type->Destroy(); } for (i = 0; i < uniqueFPs.Size(); ++i) {