Cleanup
This commit is contained in:
parent
03da29e3f9
commit
22417e4d82
|
@ -333,10 +333,7 @@ impl Sbot {
|
||||||
}
|
}
|
||||||
// if we find a CancelStreamResponse
|
// if we find a CancelStreamResponse
|
||||||
// this is the end of the stream
|
// this is the end of the stream
|
||||||
RecvMsg::CancelStreamRespose() => {
|
RecvMsg::CancelStreamRespose() => break,
|
||||||
println!("found cancel stream");
|
|
||||||
break
|
|
||||||
},
|
|
||||||
// if we find an unknown response, we just continue the loop
|
// if we find an unknown response, we just continue the loop
|
||||||
_ => {}
|
_ => {}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue