]> www.infradead.org Git - users/sagi/libnvme.git/commit
Python: Fix crash during garbage collection
authorMartin Belanger <martin.belanger@dell.com>
Tue, 2 May 2023 18:22:46 +0000 (14:22 -0400)
committerDaniel Wagner <wagi@monom.org>
Thu, 4 May 2023 06:38:10 +0000 (08:38 +0200)
commit2aaf2edccb5580890d5bc69d4d443584e430343a
tree97931992cc21541cfaecb89c5da809175ded0624
parentf64e1a0b1a1c2a6b343833a22e43ffef95ee723c
Python: Fix crash during garbage collection

Same fix as commit d2a5491d1681ead6d8983d0bf6ecae937ab9f317

Prevent Garbage Collector (GC) from deleting host and root objects
before all controller objects under that root/host have been GCed.
This time, it's the init() method that needed the fix. Previously
we had only fixed the connect() method.

Signed-off-by: Martin Belanger <martin.belanger@dell.com>
libnvme/nvme.i