Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make sure we clean up properly if StartWatchingSocket fails. (#28245)
If StartWatchingSocket failed (e.g. due to us being out of socket watch pool space), we would leave the UDPEndPointImplSockets in a bad state where its destructor would try to treat the un-initialized mWatch value as a pointer. The fix is to make sure we clean up properly on StartWatchingSocket failure.
- Loading branch information