diff --git a/xmpp-vala/src/module/xep/0030_service_discovery/module.vala b/xmpp-vala/src/module/xep/0030_service_discovery/module.vala index 85fe2d50..42547f62 100644 --- a/xmpp-vala/src/module/xep/0030_service_discovery/module.vala +++ b/xmpp-vala/src/module/xep/0030_service_discovery/module.vala @@ -100,6 +100,8 @@ public class Module : XmppStreamModule, Iq.Handler { } public override void detach(XmppStream stream) { + active_info_requests.clear(); + remove_identity(stream, own_identity); stream.get_module(Iq.Module.IDENTITY).unregister_from_namespace(NS_URI_INFO, this);