Let Pomise handle setting BrokenPromise
Summary: [Folly] Let `Pomise` handle setting `BrokenPromise` in its dtor, since it is logically always the thing that invokes `setResult`, rather than having `Core` do it. This splits up the various responsibilities a little better. Reviewed By: marshallcline Differential Revision: D7964264 fbshipit-source-id: a4871fd1a83a0a54d4a6c91fcb74c6df5aa592ba
Showing
Please register or sign in to comment