Commit 8d9ce69
committed
Make sure that _read_watcher is not empty before start it
Prevent following to happen:
```
File "cassandra/io/libevreactor.py", line 197, in _loop_will_run
conn._read_watcher.start()
AttributeError: 'NoneType' object has no attribute 'start'
```1 parent c7ca1c6 commit 8d9ce69
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
168 | 172 | | |
169 | 173 | | |
170 | 174 | | |
| |||
194 | 198 | | |
195 | 199 | | |
196 | 200 | | |
197 | | - | |
| 201 | + | |
| 202 | + | |
198 | 203 | | |
199 | 204 | | |
200 | 205 | | |
| |||
0 commit comments