You need to sign in or sign up before continuing.
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
Loading
Please register or sign in to comment