EngineDevice::~EngineDevice() { assert(s_instance == this); s_instance = nullptr; PrepareForShutdown(); Assets::Dependencies_Shutdown(); delete _pimpl; _pimpl = nullptr; TerminateFileSystemMonitoring(); }
TESTDLL_API void Shutdown() { s_depVal.reset(); TerminateFileSystemMonitoring(); }