Skip to content
Snippets Groups Projects
Commit 6ad545ce authored by hofmockel's avatar hofmockel
Browse files

Fix possible crash if snapshot and DB take part in cyclic gargabe collection

The cyclic garbage collector may choose this snappshot object to break the
cycle. In that case tp_clear will remove the reference to self.db.
So if __dealloc__ of the snapshot is called, self.db is not valid anymore
parent bb31b346
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment