Commit ae6b160e6b

ae6b160e6b52bf017edcfd208ce9b95b8efa4a44

parent: f0855c8e3b

Unsigned

Darafei Praliaskouski <me@komzpa.net> · 2026-06-30 16:52 UTC
committer: <strk@kbt.io>

fix: drop connections outside runtime context

Layout: unified · split

src/server.rs −2
@@ -1622,8 +1622,6 @@ impl InnerServer {
16221622 }
16231623
16241624 pub fn shutdown(&self) {
1625 let _runtime_guard = self.servers.runtime().enter();
1626
16271625 let mut connection = self.connection.borrow_mut();
16281626 connection.take();
16291627 drop(connection);