(self)
| 780 | self._global_capturing = None |
| 781 | |
| 782 | def resume_global_capture(self) -> None: |
| 783 | # During teardown of the python process, and on rare occasions, capture |
| 784 | # attributes can be `None` while trying to resume global capture. |
| 785 | if self._global_capturing is not None: |
| 786 | self._global_capturing.resume_capturing() |
| 787 | |
| 788 | def suspend_global_capture(self, in_: bool = False) -> None: |
| 789 | if self._global_capturing is not None: |