[Chromecast] Remove inactivity timer in CaptureServiceReceiver
So it won't lost connection due to timeout, but will still be closed if the sender side crashes or send invalid message. Meanwhile, fix a bug in the unittests that causes socket not destroyed on the sequence by specifically calling Stop. Bug: internal: 142752569 Bug: internal: 142443304 Test: On device and unittests. Change-Id: I9a75d9727cf7abb3f0acc146b1028edfb3afb45a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1865532Reviewed-by:Kenneth MacKay <kmackay@chromium.org> Reviewed-by:
Yuchen Liu <yucliu@chromium.org> Commit-Queue: Kehuang Li <kehuangli@chromium.org> Cr-Commit-Position: refs/heads/master@{#706621}
Showing
Please register or sign in to comment