Merge pull request #200 from gaearon/clear-stuff

Clear DOM overlay on shutdown
This commit is contained in:
Brian Vaughn
2019-04-20 07:57:11 -07:00
committed by GitHub
+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');
};