Skip to content

Commit 6194b94

Browse files
authored
[UR][L0 v2] Do not use logger::error in queue dtor (#18181)
The logger might throw leading to an abort. The error message will be printed anyway if the PrintTrace is set.
1 parent c77887e commit 6194b94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unified-runtime/source/adapters/level_zero/v2/queue_immediate_in_order.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ ur_queue_immediate_in_order_t::~ur_queue_immediate_in_order_t() {
180180
try {
181181
UR_CALL_THROWS(queueFinish());
182182
} catch (...) {
183-
logger::error("Failed to finish queue on destruction");
183+
// Ignore errors during destruction
184184
}
185185
}
186186

0 commit comments

Comments
 (0)