Commit 14b531d
committed
Clean up Qt socket notifier to avoid spurious interrupt handler calls
Closes #29688
Objects without a parent are not necessarily cleaned up in PyQt when
their reference count reaches zero, and must be explicitly cleaned up
with `deleteLater()`
This prevents the notifier firing after the signal handling was supposed
to have been reset to its previous state.1 parent 9340190 commit 14b531d
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
| 154 | + | |
154 | 155 | | |
155 | 156 | | |
| 157 | + | |
156 | 158 | | |
157 | 159 | | |
158 | 160 | | |
| |||
172 | 174 | | |
173 | 175 | | |
174 | 176 | | |
| 177 | + | |
| 178 | + | |
175 | 179 | | |
176 | 180 | | |
177 | 181 | | |
| |||
0 commit comments