Commit 3337b5b
committed
Get current loop within the extended signal handler:
- This had some side effects when running `pytest` since they have
their own signal handler. If persistent connection provider tests
were run along with any other tests, the disconnect task would
interfere with the other handler.
- If we get the current loop from within the extended signal handler,
we can avoid issues like the one above.1 parent 12c9d83 commit 3337b5b
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
270 | 270 | | |
271 | 271 | | |
272 | 272 | | |
273 | | - | |
274 | | - | |
275 | 273 | | |
276 | | - | |
| 274 | + | |
277 | 275 | | |
278 | 276 | | |
279 | 277 | | |
280 | 278 | | |
| 279 | + | |
281 | 280 | | |
282 | 281 | | |
283 | 282 | | |
| |||
0 commit comments