mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
- explicitly call Destroy in PClass::StaticShutdown because some class type objects were no longer automatically collected.
This commit is contained in:
parent
7595343aaa
commit
74c5659fc5
1 changed files with 1 additions and 0 deletions
|
@ -2765,6 +2765,7 @@ void PClass::StaticShutdown ()
|
||||||
uniqueFPs.Push(const_cast<size_t *>(type->FlatPointers));
|
uniqueFPs.Push(const_cast<size_t *>(type->FlatPointers));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
type->Destroy();
|
||||||
}
|
}
|
||||||
for (i = 0; i < uniqueFPs.Size(); ++i)
|
for (i = 0; i < uniqueFPs.Size(); ++i)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue