Revert async Event destruction

This reverts f9a5f8a86e and
f89c731a11

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
Bartosz Dunajski
2022-05-12 12:13:48 +00:00
committed by Compute-Runtime-Automation
parent 268393d776
commit 83a9037640
7 changed files with 6 additions and 106 deletions

View File

@@ -2159,7 +2159,6 @@ cl_int CL_API_CALL clReleaseEvent(cl_event event) {
DBG_LOG_INPUTS("cl_event", event, "Event", pEvent);
if (pEvent) {
pEvent->handleCompletionBeforeDestruction();
pEvent->release();
TRACING_EXIT(clReleaseEvent, &retVal);
return retVal;