mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Command Queue: Destroy timestamp packet container before releasing context
Change-Id: I7ee492586ee178bc89c44d5d6663d3ff8fb2e778 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
1439f49845
commit
74510286a1
@ -96,6 +96,7 @@ CommandQueue::~CommandQueue() {
|
||||
}
|
||||
}
|
||||
|
||||
timestampPacketContainer.reset();
|
||||
//for normal queue, decrement ref count on context
|
||||
//special queue is owned by context so ref count doesn't have to be decremented
|
||||
if (context && !isSpecialCommandQueue) {
|
||||
|
Reference in New Issue
Block a user