Commit 443717f
committed
Fix closing driver library in context destructor
Loop over zeDrivers (instead of allDrivers) vector in order to free driver
libraries. Using allDrivers may not always work since if there's more than
one driver discovered, drivers in allDrivers vector have null handles.1 parent b313227 commit 443717f
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
824 | 824 | | |
825 | 825 | | |
826 | 826 | | |
827 | | - | |
| 827 | + | |
828 | 828 | | |
829 | 829 | | |
830 | 830 | | |
| |||
0 commit comments