Closed zeenix closed 1 year ago
mentioned in commit zeenix/zbus@9ef22e39154c9a9f1cc61266952adf976e10638a
I'm pretty sure this is a recent(ish) regression. I created a testcase for it so once it's fixed, we can avoid this regression in the future. What I already found out is that it's the ObjectServer setup that ends up cloning the connection so the drop isn't dropping the actual internal state.
mentioned in commit zeenix/zbus@b95f9d68c44fcbcce556bd6bd39818897141d240
The actual fix was trivial in the end but it took a while to get to it. :)
In GitLab by @peelz on Jan 31, 2023, 01:58
As the title says, calling
drop(connection)
doesn't close the connection.Reproduction: https://github.com/notpeelz/bug-repro-zbus-drop-doesnt-disconnect