Replies: 1 comment 4 replies
-
We need a way to close all apps/connections/inbounds/outbounds gracefully, not only the netstack. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I notice that in
NetStackImpl::new
there are a fewtokio::spawn
calls with a loop inside their async blocks. Some of the spawned tasks seems to run forever such as the timer.My suggestion is to wrap these tasks with futures::future::abortable and manually abort them while
drop
ping aNetStackImpl
. Do you think it is necessary to do so?Beta Was this translation helpful? Give feedback.
All reactions