Skip to content

Conversation

@mateusztabaka
Copy link
Contributor

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.

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.
@nrspruit
Copy link
Contributor

allDrivers includes zeDrivers and zesDrivers, have to free both sets of drivers which are enumerated in allDrivers only. We also have a null check before the handle is attempted to be removed.

Do you have example where you have encountered a failure?

@nrspruit
Copy link
Contributor

Please see the following PR #416 this will address this issue without breaking other scenarios.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants