Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

Close drivers on exit #2681

Merged
merged 1 commit into from
Dec 24, 2015
Merged

Close drivers on exit #2681

merged 1 commit into from
Dec 24, 2015

Conversation

dgageot
Copy link
Member

@dgageot dgageot commented Dec 24, 2015

This is a simpler version of #2635
It makes sure we don't have to call close everywhere we load a host.

Signed-off-by: David Gageot david@gageot.net

Signed-off-by: David Gageot <david@gageot.net>
@jeanlaurent
Copy link
Member

LGTM

jeanlaurent added a commit that referenced this pull request Dec 24, 2015
@jeanlaurent jeanlaurent merged commit 0ab066e into docker:master Dec 24, 2015
@nathanleclaire
Copy link
Contributor

Did you running (including create) after building with -race? Similar solutions in the past for me have tripped the race detector (due to the shared memory access), but this seems to happen all in a single goroutine so maybe it is fine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants