move to a predicate-based module system, move to loader.[rs|pl]-based compilation, add support for incremental clause compilation
This commit is contained in:
@@ -179,10 +179,10 @@ impl Drop for StreamInstance {
|
||||
fn drop(&mut self) {
|
||||
match self {
|
||||
StreamInstance::TcpStream(_, ref mut tcp_stream) => {
|
||||
discard_result!(tcp_stream.shutdown(Shutdown::Both));
|
||||
tcp_stream.shutdown(Shutdown::Both).unwrap();
|
||||
}
|
||||
StreamInstance::TlsStream(_, ref mut tls_stream) => {
|
||||
discard_result!(tls_stream.shutdown());
|
||||
tls_stream.shutdown().unwrap();
|
||||
}
|
||||
_ => {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user