Diff of /upnpevents.c [0687d8] .. [6fcd16] Maximize Restore

  Switch to side-by-side view

--- a/upnpevents.c
+++ b/upnpevents.c
@@ -194,6 +194,16 @@
 	return -1;
 }
 
+void
+upnpevents_removeSubscribers(void)
+{
+	struct subscriber * sub;
+
+	for(sub = subscriberlist.lh_first; sub != NULL; sub = subscriberlist.lh_first) {
+		upnpevents_removeSubscriber(sub->uuid, sizeof(sub->uuid));
+	}
+}
+
 /* notifies all subscribers of a SystemUpdateID change */
 void
 upnp_event_var_change_notify(enum subscriber_service_enum service)