Commit 0e915c2
[BugFix]Fix crash that socket_guard_ maybe nullptr
If the connect function has not succeeded, socket_guard_ may still be nullptr, and socket_guard_.Get() will cause the crash.1 parent 99358e9 commit 0e915c2
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
193 | 197 | | |
194 | 198 | | |
195 | 199 | | |
| |||
0 commit comments