Commit 9c13694
authored
[SYCL] Fix acquiring a mutex in _pi_context::finalize (#3001)
I observed crashes in ESIMD tests at the exit of _pi_context::finalize
function. Unlocking not owned mutex is Undefined Behavior.
Crashes occurred only on Debug builds on Windows platforms when using
LevelZero. I saw the following error: "unlock of unowned mutex".1 parent 9848d9f commit 9c13694
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
511 | | - | |
| 511 | + | |
512 | 512 | | |
513 | 513 | | |
514 | 514 | | |
| |||
0 commit comments