Clear DOM overlay on shutdown

This commit is contained in:
Dan Abramov
2019-04-20 14:34:13 +01:00
parent d7e8fccd1a
commit d05106e364
+2
View File
@@ -402,6 +402,8 @@ export default class Agent extends EventEmitter {
};
shutdown = () => {
// Clean up the overlay if visible, and associated events.
this.stopInspectingDOM();
this.emit('shutdown');
};