Message138163
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. |
|
Date |
User |
Action |
Args |
2011-06-11 16:12:39 | pitrou | set | recipients:
+ pitrou, vstinner, neologix |
2011-06-11 16:12:39 | pitrou | set | messageid: <1307808759.44.0.0373389634555.issue12310@psf.upfronthosting.co.za> |
2011-06-11 16:12:38 | pitrou | link | issue12310 messages |
2011-06-11 16:12:38 | pitrou | create | |
|