Update WindowManagerApplication teardown
WindowManagerApplication's normal destruction order involves tearing down everything is has created. However on some fast tests it is possible for WindowManagerApplication to be destroyed before OnStart is ever called. When this occurs we attempt to destroy services which we never created, and various DCHECKS are triggered. PhishingDOMFeatureExtractorTest.SubframeRemoval has a >50% repro rate of this locally where the crash occurs after the test successfully passes. TEST=PhishingDOMFeatureExtractorTest.SubframeRemoval BUG=678687 Review-Url: https://codereview.chromium.org/2851763002 Cr-Commit-Position: refs/heads/master@{#468101}
Showing
Please register or sign in to comment