DescriptionHave WindowTreeClient detect error state earlier
Currently WindowTreeClient cleans up all windows during destruction. However
this masks incorrect usage of the client library. It also makes it difficult to
find errors, as crashes occur later on in shutdown.
This change updates the destructor to explicitly fail if there are windows.
TEST=manual, mash_browser_tests
BUG=678687
Review-Url: https://codereview.chromium.org/2696573003
Cr-Commit-Position: refs/heads/master@{#450968}
Committed: https://chromium.googlesource.com/chromium/src/+/dcfe7f207b2b188b50b3e25eef5765b662c36455
Patch Set 1 #
Total comments: 4
Patch Set 2 : Update Observer and check #Patch Set 3 : Fix test exposed by new check #
Messages
Total messages: 21 (8 generated)
|