mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 08:53:55 +08:00
Reset tag allocators in CSR destructor
Change-Id: I178ece2b5d79c2bd38b8ba5b1c715bd3730b715e Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
@@ -65,6 +65,10 @@ CommandStreamReceiver::~CommandStreamReceiver() {
|
||||
}
|
||||
cleanupResources();
|
||||
|
||||
profilingTimeStampAllocator.reset();
|
||||
perfCounterAllocator.reset();
|
||||
timestampPacketAllocator.reset();
|
||||
|
||||
internalAllocationStorage->cleanAllocationList(-1, REUSABLE_ALLOCATION);
|
||||
internalAllocationStorage->cleanAllocationList(-1, TEMPORARY_ALLOCATION);
|
||||
getMemoryManager()->unregisterEngineForCsr(this);
|
||||
|
||||
Reference in New Issue
Block a user