Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: handle the case where GC runs during fork safety checks
If GC runs between the check for `db.weakref_alive?` and `db.close` then an exception will be raised: Invalid Reference - probably recycled (WeakRef::RefError) In this case, let's just swallow the error and keep going, since the database object isn't in use and was GCed.
- Loading branch information