Py_INCREF/Py_DECREF when bridging coro task to python future and fix typo
Summary:
1. Py_INCREF when holding py future object in bridge function. Py_DECREF in a scope guard.
2. fix typo("folly::coroTask" should be "folly::coro::Task")
Reviewed By: yfeldblum, andriigrynenko
Differential Revision: D16341866
fbshipit-source-id: 1d5b946596cd86c4a949e2c66f007a6140046506
Showing
Please register or sign in to comment