Skip to content

Commit

Permalink
Unset pool device after _destroy.
Browse files Browse the repository at this point in the history
  • Loading branch information
dwlehman committed Jun 11, 2020
1 parent 4cb90e6 commit 171ef79
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions library/blivet.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,6 +538,8 @@ def _destroy(self):

leaves = [a for a in ancestors if a.isleaf]

self._device = None

def _type_check(self): # pylint: disable=no-self-use
return True

Expand Down

0 comments on commit 171ef79

Please sign in to comment.