DescriptionAdd comment about leaked FileDescriptorWatcher::Controller::Watcher.
If the MessageLoopForIO is deleted before Watcher::StartWatching() runs,
|watcher_| is leaked. If the MessageLoopForIO is deleted after
Watcher::StartWatching() runs but before the DeleteSoon task runs,
|watcher_| is deleted from Watcher::WillDestroyCurrentMessageLoop().
BUG=645114
Committed: https://crrev.com/20e8000df85972c5fd53d287753a189c45b9408c
Cr-Commit-Position: refs/heads/master@{#422320}
Patch Set 1 #
Messages
Total messages: 9 (3 generated)
|