Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(pubsub): handle None in on response callback (#9982)
If the underlying RPC is shut down while pulling the messages with a streming pull, the StreamingPullManager's _on_response() method is invoked with None (as opposed to a StreamingPullResponse instance). This commit handles this case and prevents an error in a background thread on streaming pull manager shutdown.
- Loading branch information