DescriptionAllow IO operations in destructor of net::NetworkConfigWatcherMacThread
The destructor of net::NetworkConfigWatcherMacThread ends up calling
PlatformThread::Join(), an operation that needs to be done only from an
IO thread. This currently causes a DCHECK to fire in base::ThreadRestrictions.
The bug was discovered by running the sync integration tests on a mac trybot.
The tests create Profile objects during setup, that indirectly call
~NetworkConfigWatcherMacThread() from their destructors.
This patch allows IO operations in ~NetworkConfigWatcherMacThread()
using a ScopedAllowIO.
BUG=70190
TEST=sync_integration_tests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=72030
Patch Set 1 : " #
Total comments: 3
Messages
Total messages: 4 (0 generated)
|