You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does the process appear to freeze after the first attempt? If so, then you are likely experiencing a deadlock. The docs for DashMap::remove() says this:
Locking behaviour: May deadlock if called when holding any sort of reference into the map
In your case, you are holding a reference to m while also trying to remove that element. For something like this, consider using DashMap::retain() instead.
will fail to remove key when iter,i don't know why.
The text was updated successfully, but these errors were encountered: