Called in child after fork() - cleanup references.
()
| 60 | |
| 61 | |
| 62 | def _after_fork_child(): |
| 63 | """Called in child after fork() - cleanup references.""" |
| 64 | # In the child process (worker), we don't need the control server. |
| 65 | # Just clear the references without trying to stop anything. |
| 66 | _active_servers.clear() |
| 67 | |
| 68 | |
| 69 | class ControlSocketServer: |