消息 [138163]
Less disruptive approach:
old_process = _current_process
_current_process = self
try:
util._finalizer_registry.clear()
util._run_after_forkers()
finally:
del old_process
This will delay finalization of the old process object until after _run_after_forkers() is executed, without (hopefully) messing with semantics. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2011-06-11 16:12:39 | pitrou | 修改 | recipients:
+ pitrou, vstinner, neologix |
| 2011-06-11 16:12:39 | pitrou | 修改 | messageid: <1307808759.44.0.0373389634555.issue12310@psf.upfronthosting.co.za> |
| 2011-06-11 16:12:38 | pitrou | 链接 | issue12310 messages |
| 2011-06-11 16:12:38 | pitrou | 创建 | |
|