When I add a WFS layer (WFSLayer), it works fine, as well as the update-start and update-end map events.
The problem comes when I delete the WFS layer. When I delete the WFS layer with map.removeLayer (WFSLayer), an update-start event is executed without much sense. Then the onUpdateStart and UpdateEnd events of map are not executed (instead extent-change is working fine).
With other types of layers it works perfectly, such as WMSLayer, ArcGIS Feature Layer, ArcGIS Dynamic Layer, ...
What can be happening? Is it an API bug?