def fork(): result = _original_fork() core.reinit() return result
def fork(): result = _original_fork() if not result: core.reinit() return result