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:
Igor Venevtsev
2023-06-27 15:50:33 +00:00
committed by Compute-Runtime-Automation
parent 1418300d31
commit c2c622d695
7 changed files with 87 additions and 0 deletions

View File

@@ -44,6 +44,7 @@ Platform::~Platform() {
for (auto clDevice : this->clDevices) {
clDevice->getDevice().getRootDeviceEnvironmentRef().debugger.reset(nullptr);
clDevice->getDevice().stopDirectSubmission();
clDevice->decRefInternal();
}