Commit d813588
committed
Qt: Silence an exception at interpreter exit
This silences the following warning about an ignored exception:
```
Exception ignored while calling deallocator <function TimerQT.__del__ at 0x...>:
Traceback (most recent call last):
File ".../lib/matplotlib/backends/backend_qt.py", line 198, in __del__
self._timer_stop()
File ".../lib/matplotlib/backends/backend_qt.py", line 210, in _timer_stop
self._timer.stop()
RuntimeError: wrapped C/C++ object of type QTimer has been deleted
```1 parent a682408 commit d813588
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
199 | 205 | | |
200 | 206 | | |
201 | 207 | | |
| |||
0 commit comments