SWDEV-558078 - Fix use-after-free in graph tests due to AsyncEventHandler (#1502)

This commit is contained in:
Ioannis Assiouras
2025-10-23 22:49:24 +01:00
committed by GitHub
parent 4942f3cae5
commit 602ea0be1e
4 changed files with 4 additions and 3 deletions
@@ -184,7 +184,7 @@ class HostQueue : public CommandQueue {
}
}
void Release() const { delete virtualDevice_; }
void Release() const { virtualDevice_->release(); }
//! Get virtual device for the current thread
device::VirtualDevice* vdev() const { return virtualDevice_; }