Delete watcher on IO thread in MessagePumpLibeventTest.QuitWatcher.
commit2b94f7bf55796a7112bd8dc5fafb0797e8bc9949
authorderekjchow <derekjchow@chromium.org>
Sun, 21 Jun 2015 05:14:35 +0000 (20 22:14 -0700)
committerCommit bot <commit-bot@chromium.org>
Sun, 21 Jun 2015 05:15:03 +0000 (21 05:15 +0000)
tree3c137f351443b24658547335a97071c2b1ae1ce7
parent13db66b9b04bc26d61cafb949697e5dc0afe6289
Delete watcher on IO thread in MessagePumpLibeventTest.QuitWatcher.

If StartWatching is run before the WaitableEvent is signaled,
the StopWatching should be called (on the IO thread). Otherwise,
a DCHECK will be called in the destructor of WaitableEventWatcher.

BUG=internal b/21093761
BUG=481290

Review URL: https://codereview.chromium.org/1184093007

Cr-Commit-Position: refs/heads/master@{#335451}
base/message_loop/message_pump_libevent_unittest.cc