AsyncioExecutor should insure Python is not finalizing when calling drive in the dstor
Summary: There have been weird edge cases we haven't tracked down yet that saw python segfaulting at shutdown, caused by drive() run from the destructor of AsyncioExecutor after Python had run Py_Finalize shutting down the runtime. This fix uses new checks from Python >=3.7 to check if Python is finalizing Reviewed By: yfeldblum, nanshu Differential Revision: D19321677 fbshipit-source-id: 79a6f95df383a86d80e064eb55a8a81e29d50ace
Showing
Please register or sign in to comment