Do not call Terminate() for the child threads explicitly when shutting
Currently, the worker thread calls the Terminate() of the child threads during executing PrepareForShutdownOnWorkerThread(). This patch removes the explicit calling, because the nested workers are observers of the terminating worker's worker global scope, the child threads will get terminated when notified with ContextDestroyed(). Change-Id: I7b9fd424c5b954b31ff83b1027608e5e24c04bbd Bug: 1104847 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2377580Reviewed-by:Kinuko Yasuda <kinuko@chromium.org> Reviewed-by:
Hiroki Nakagawa <nhiroki@chromium.org> Commit-Queue: Minggang Wang <minggang.wang@intel.com> Cr-Commit-Position: refs/heads/master@{#803361}
Showing
Please register or sign in to comment