Commit 77b8684
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 c233c26 commit 77b8684
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
197 | | - | |
| 197 | + | |
| 198 | + | |
198 | 199 | | |
199 | 200 | | |
200 | 201 | | |
| |||
0 commit comments