mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 18:06:32 +08:00
fix: delete stagingBufferManager after Device
Related-To: HSD-18043087998 Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
cbe7d59c3c
commit
1f3e406c8d
@@ -233,7 +233,6 @@ DriverHandleImp::~DriverHandleImp() {
|
||||
this->externalSemaphoreController.reset();
|
||||
}
|
||||
|
||||
this->stagingBufferManager.reset();
|
||||
if (memoryManager != nullptr) {
|
||||
memoryManager->peekExecutionEnvironment().prepareForCleanup();
|
||||
if (this->svmAllocsManager) {
|
||||
@@ -248,6 +247,7 @@ DriverHandleImp::~DriverHandleImp() {
|
||||
}
|
||||
delete device;
|
||||
}
|
||||
this->stagingBufferManager.reset();
|
||||
|
||||
for (auto &fabricVertex : this->fabricVertices) {
|
||||
delete fabricVertex;
|
||||
|
||||
Reference in New Issue
Block a user