Leak DeviceMonitorLinux on shutdown.
In preparation for the migration of many Chrome threads to TaskScheduler, we want to get rid of MessageLoop destruction observers. This CL removes the code that deletes DeviceMonitorLinux from a destruction observer and uses a LazyInstance::Leaky to manage the lifetime of DeviceMonitorLinux. This CL also helps reducing the amount of work done during shutdown https://groups.google.com/a/chromium.org/d/msg/chromium-dev/AMB2Y7Sqj48/QltA07wUCQAJ BUG=650318 Review-Url: https://chromiumcodereview.appspot.com/2433933004 Cr-Commit-Position: refs/heads/master@{#426518}
Showing
Please register or sign in to comment