add missing co-invoke to async-generator safe-point test
Summary: The `AsyncGenerator` test for `co_safe_point` immediately-invokes a temporary coroutine function to return a coroutine object, but the temporary coroutine function goes out of scope while the returned coroutine is live. Use `co_invoke` to fix it. Reviewed By: lxfind Differential Revision: D26408345 fbshipit-source-id: 4650ea57c01baffb1065560b661e3296cb0292cc
Showing
Please register or sign in to comment