- backend update from GZDoom.

* cleanup on the sound init code.
* added #pragma once in several headers.
* macOS version detection overhaul.
This commit is contained in:
Christoph Oelckers 2023-07-22 09:54:00 +02:00
parent 706c784965
commit 6aa61e72b5
32 changed files with 135 additions and 91 deletions

View file

@ -231,6 +231,8 @@ void PClass::StaticInit ()
//
//==========================================================================
void ClearServices();
void PClass::StaticShutdown ()
{
if (WP_NOCHANGE != nullptr)
@ -238,6 +240,7 @@ void PClass::StaticShutdown ()
delete WP_NOCHANGE;
}
ClearServices();
// delete all variables containing pointers to script functions.
for (auto p : FunctionPtrList)
{