mirror of
https://github.com/ntex-rs/ntex.git
synced 2025-04-04 13:27:39 +03:00
wip
This commit is contained in:
parent
dfeefd0afd
commit
3455bec5bd
1 changed files with 2 additions and 2 deletions
|
@ -178,7 +178,7 @@ impl<T> Handler for StreamOpsHandler<T> {
|
||||||
item.fd,
|
item.fd,
|
||||||
item.io.is_some()
|
item.io.is_some()
|
||||||
);
|
);
|
||||||
if item.io.is_some() {
|
if item.io.take().is_some() {
|
||||||
close(id, &mut item, &self.inner.api, false);
|
close(id, &mut item, &self.inner.api, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -371,7 +371,7 @@ impl<T> Drop for StreamCtl<T> {
|
||||||
item.fd,
|
item.fd,
|
||||||
item.io.is_some()
|
item.io.is_some()
|
||||||
);
|
);
|
||||||
if item.io.is_some() {
|
if item.io.take().is_some() {
|
||||||
close(self.id, &mut item, &self.inner.api, true);
|
close(self.id, &mut item, &self.inner.api, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue