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 {
1622 } 1622 }
1623 1623
1624 pub fn shutdown(&self) { 1624 pub fn shutdown(&self) {
1625 let _runtime_guard = self.servers.runtime().enter();
1626
1627 let mut connection = self.connection.borrow_mut(); 1625 let mut connection = self.connection.borrow_mut();
1628 connection.take(); 1626 connection.take();
1629 drop(connection); 1627 drop(connection);