Skip to content

Commit 7ca6823

Browse files
committed
Fix sequencing bug
Signed-off-by: Andrew Fiddian-Green <software@whitebear.ch>
1 parent 52cea5e commit 7ca6823

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • bundles/org.openhab.core.io.transport.upnp/src/main/java/org/openhab/core/io/transport/upnp

bundles/org.openhab.core.io.transport.upnp/src/main/java/org/openhab/core/io/transport/upnp/UpnpDeviceFinder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,8 @@ public void addUDN(UDN udn) {
140140
* Remove the given UPnP device UDN from the subscriptions list and cancel any pending search.
141141
*/
142142
public void removeUDN(UDN udn) {
143-
subscriptions.remove(udn);
144143
cancelSearch(udn);
144+
subscriptions.remove(udn);
145145
logger.debug("Removed subscription for {}", udn);
146146
}
147147

0 commit comments

Comments
 (0)