Skip to content
Snippets Groups Projects
Commit 6f458619 authored by Amna Snene's avatar Amna Snene
Browse files

upnp: ignore auto-update when the user releases the mapping

Change-Id: I51f20de11398e394228fd4619dffe255ab215ab9
parent 7a33c7c3
No related branches found
No related tags found
No related merge requests found
......@@ -378,7 +378,6 @@ UPnPContext::reserveMapping(Mapping& requestedMap)
return mapRes;
}
// TODO: double-check what the expected behavior is when the mapping has auto-update enabled.
void
UPnPContext::releaseMapping(const Mapping& map)
{
......@@ -400,7 +399,7 @@ UPnPContext::releaseMapping(const Mapping& map)
// Remove it.
requestRemoveMapping(mapPtr);
unregisterMapping(mapPtr);
unregisterMapping(mapPtr, true);
enforceAvailableMappingsLimits();
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment