Fix releaseDeferredExecutor to not access Executor if callback was set
Summary: Instead of using setCallbackAndDetach (which is hard to apply in all cases because of cancellation), this diff fixes releaseDefferedExecutor. Reviewed By: yfeldblum Differential Revision: D16189338 fbshipit-source-id: 47ef192dd0cec3c13824071c8ba7e1dd06968a70
Showing
Please register or sign in to comment