Merge "Fix a crash when exiting the DevTools Connectivity page." into nyc-dev