-
Type:
Task
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Networking & Observability
-
Fully Compatible
-
N&O 2026-07-20
-
None
-
None
-
None
-
None
-
None
-
None
-
None
There's a rarely encountered bug in the AsioNetworkingBaton where one of its promises is fulfilled/errored twice, or is fulfilled/errored after having been moved from. This is not something that should be possible and I'm not sure why it happens.
To better diagnose the issue in the future, add tracking to AsioNetworkingBaton that notes the source location and thread name that moves/fulfills/errors a promise and annotates the associated Timer or TransportSession with that information. If the promise is then moved/fulfilled/errored again, we can check the annotation and log a fatal diagnostic with information about the current and previous callers.