When dataService.disconnect method is called in web environment, it throws the following error:
Uncaught (in promise) TypeError: this._state.destroy is not a function disconnect webpack://@mongodb-js/compass-web/../data-service/src/data-service.ts?:935 CompassWeb webpack://@mongodb-js/compass-web/./src/index.tsx?:173 React 15 disconnectCompassWeb webpack://@mongodb-js/compass-web/./sandbox/index.tsx?:150 <anonymous> debugger eval code:1 index.js line 7496 > eval:935:469
This is due to how the devtools-connect polyfill is implemented and should be a pretty easy fix on a polyfill side