We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e513723 commit 73ed718Copy full SHA for 73ed718
1 file changed
packages/google-api-core/google/api_core/bidi.py
@@ -642,7 +642,7 @@ def _thread_main(self, ready):
642
# In the future, we could use `Condition.wait_for` if we drop
643
# Python 2.7.
644
with self._wake:
645
- if self._paused:
+ while self._paused:
646
_LOGGER.debug("paused, waiting for waking.")
647
self._wake.wait()
648
_LOGGER.debug("woken.")
0 commit comments