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 10, 2020
1 parent 81a63a0 commit 4640202
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 @@ -534,6 +534,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 4640202

Please sign in to comment.