Commit aefb880
committed
Only set signal handlers if outside of a context manager:
- Since context managers can handle signals appropriately, disconnecting
after receiving a signal, only set signal handlers if outside of a
context manager instantiation
i.e. ``await AsyncWeb3(PersistentConnectionProvider(...))``.1 parent 3337b5b commit aefb880
2 files changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
540 | 540 | | |
541 | 541 | | |
542 | 542 | | |
543 | | - | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
544 | 547 | | |
545 | 548 | | |
546 | 549 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
181 | 180 | | |
182 | 181 | | |
183 | 182 | | |
| |||
0 commit comments