Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/common/System.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ namespace Sys {
// TODO: also use in VMs when cvars can be observed from multiple modules
// This option can be turned on when debugging memory management
#ifdef BUILD_ENGINE
static Cvar::Cvar<bool> pedanticShutdown("common.pedanticShutdown", "run useless shutdown procedures before exit", Cvar::NONE,
#ifdef USING_SANITIZER
true);
constexpr bool defaultPedanticShutdown = true;
#else
false);
constexpr bool defaultPedanticShutdown = false;
#endif
static Cvar::Cvar<bool> pedanticShutdown("common.pedanticShutdown", "run useless shutdown procedures before exit", Cvar::NONE, defaultPedanticShutdown);
#endif // BUILD_ENGINE

#if defined(BUILD_ENGINE) && defined(_WIN32)
Expand Down