Skip to content

Commit

Permalink
Merge branch 'v4.8' of github.com:mongodb/mongo-python-driver into PY…
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Jun 14, 2024
2 parents c2784ba + 2e39101 commit 7fc2c75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pymongo/mongo_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,7 @@ def target() -> bool:
# this closure. When the client is freed, stop the executor soon.
self_ref: Any = weakref.ref(self, executor.close)
self._kill_cursors_executor = executor
self._opened = False

def _after_fork(self) -> None:
"""Resets topology in a child after successfully forking."""
Expand Down

0 comments on commit 7fc2c75

Please sign in to comment.