mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-07 04:00:37 -06:00
Making PerformanceMeasurement not crash when memory is deallocated
This commit is contained in:
@@ -173,6 +173,9 @@ PerformanceManager::~PerformanceManager() {
|
||||
|
||||
LINFO("Remove shared memory '" << _performanceMemory->name() << "'");
|
||||
ghoul::SharedMemory::remove(_performanceMemory->name());
|
||||
|
||||
_performanceMemory = nullptr;
|
||||
|
||||
}
|
||||
|
||||
PerformanceManager::destroyGlobalSharedMemory();
|
||||
|
||||
Reference in New Issue
Block a user