If I tell the porter to send a stanza, then tear it down (without spinning the main loop!), and then spin the main loop a bit, it'll crash. Patch to follow.
You should add a unit test too.
(In reply to comment #1) > You should add a unit test too. Of course. (I found it in the first place by writing a unit test.)
Looks perfectly good.
Thanks, merged!
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.