()
| 869 | |
| 870 | if hasattr(os, 'fork'): |
| 871 | def on_fork(): |
| 872 | # Reset the loop and wakeupfd in the forked child process. |
| 873 | if _event_loop_policy is not None: |
| 874 | _event_loop_policy._local = _BaseDefaultEventLoopPolicy._Local() |
| 875 | _set_running_loop(None) |
| 876 | signal.set_wakeup_fd(-1) |
| 877 | |
| 878 | os.register_at_fork(after_in_child=on_fork) |
nothing calls this directly
no test coverage detected