mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
fix: stop direct submission on platform destruction
Related-To: NEO-8072 Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
1418300d31
commit
c2c622d695
@@ -44,6 +44,7 @@ Platform::~Platform() {
|
||||
|
||||
for (auto clDevice : this->clDevices) {
|
||||
clDevice->getDevice().getRootDeviceEnvironmentRef().debugger.reset(nullptr);
|
||||
clDevice->getDevice().stopDirectSubmission();
|
||||
clDevice->decRefInternal();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user