You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
0 commit comments