Fix sequencing bug

Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
pull/4534/head
Andrew Fiddian-Green 2025-01-04 13:07:10 +00:00
parent 52cea5e9c2
commit 7ca682338a
1 changed files with 1 additions and 1 deletions

View File

@ -140,8 +140,8 @@ public class UpnpDeviceFinder implements RegistryListener {
* Remove the given UPnP device UDN from the subscriptions list and cancel any pending search.
*/
public void removeUDN(UDN udn) {
subscriptions.remove(udn);
cancelSearch(udn);
subscriptions.remove(udn);
logger.debug("Removed subscription for {}", udn);
}