We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e059fde commit 2e39101Copy full SHA for 2e39101
pymongo/mongo_client.py
@@ -904,6 +904,7 @@ def target() -> bool:
904
# this closure. When the client is freed, stop the executor soon.
905
self_ref: Any = weakref.ref(self, executor.close)
906
self._kill_cursors_executor = executor
907
+ self._opened = False
908
909
def _after_fork(self) -> None:
910
"""Resets topology in a child after successfully forking."""
0 commit comments