-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Server Programmability
The work in SERVER-90352 missed an opportunity to further simplify the logic in AsioNetworkingBaton::detachImpl. Since the map represented by the _timersById member variable doesn't need to be modified in any way after being moved off the object in detachImpl, we can just clear it in the critical section rather than std::exchange it into a local variable.
- is related to
-
SERVER-90352 AsioNetworkBaton::detachImpl doesn't clear the _timersById map
- Closed