Taylor Brandstetter e4d3952bf0 Revert "Remove workaround in AutoSocketServerThread that isn't needed anymore."
This reverts commit 44156fa024cbf12f052a35571ac91bc9907be6c3.

Reason for revert: Needed in order to revert https://webrtc-review.googlesource.com/c/src/+/249941, which introduced a crash

Original change's description:
> Remove workaround in AutoSocketServerThread that isn't needed anymore.
>
> Cleanup steps for the Connection class have changed as of:
> https://webrtc-review.googlesource.com/c/src/+/249941
>
> However, it turns out that the PortTest suite still needs it, so the
> workaround has migrated to there.
>
> Bug: none
> Change-Id: Ia68f47b6c65b3a8fd5e8c04d70a43d15ba1a6422
> Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/250223
> Reviewed-by: Niels Moller <nisse@webrtc.org>
> Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org>
> Cr-Commit-Position: refs/heads/main@{#35894}

Bug: none
Change-Id: I13a4a79ebcb864054d14c1ba7726e18e044e3bd4
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/252542
Auto-Submit: Taylor Brandstetter <deadbeef@webrtc.org>
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Tomas Gunnarsson <tommi@webrtc.org>
Commit-Queue: Tomas Gunnarsson <tommi@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#36076}
2022-02-25 10:14:38 +00:00
..
2021-11-16 10:30:30 +00:00
2022-01-11 14:12:54 +00:00
2019-07-08 13:45:15 +00:00
2021-09-21 16:28:38 +00:00
2021-09-21 16:28:38 +00:00
2022-02-16 12:37:35 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2019-07-08 13:45:15 +00:00
2022-01-28 15:13:45 +00:00
2022-01-28 15:13:45 +00:00
2021-08-31 14:27:49 +00:00
2019-02-16 11:11:45 +00:00
2019-07-08 13:45:15 +00:00
2019-11-26 14:05:20 +00:00
2021-04-22 13:04:53 +00:00
2019-07-08 13:45:15 +00:00
2021-04-16 08:47:17 +00:00
2019-07-08 13:45:15 +00:00
2020-09-17 13:18:25 +00:00
2021-09-21 15:17:26 +00:00
2021-01-29 08:24:43 +00:00
2022-01-25 15:39:53 +00:00
2021-02-10 15:04:55 +00:00
2019-07-08 13:45:15 +00:00
2021-10-13 19:26:10 +00:00
2019-07-08 13:45:15 +00:00