-
-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix "Exception ignored" in weakref callback during interpreter shutdown.
Under some circumstances "Exception ignored in: <function WeakMethod.__new__.<locals>._cb at 0x770cbdb5b9c0>" appears during interpreter shutdown. Root cause is probably a weakref callback running here from an interpeter shutdown finalizer pass, and then calling _disconnect either causes the same weakref to be cleaned up again or calls into some other already-gone resource and triggers the error.
- Loading branch information
1 parent
dcce3e9
commit 42561fd
Showing
2 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters