@samitouri / QOS-React-2 / commits / d05106e364

Clear DOM overlay on shutdown

Dan Abramov committed Apr 20, 2019 at 14:34 UTC d05106e364fbec4c09233d2ad2b669c58e1b48b1
1 file changed +2
src/backend/agent.js
+2
@@ -402,6 +402,8 @@ export default class Agent extends EventEmitter {
402 };
403
404 shutdown = () => {
405 + // Clean up the overlay if visible, and associated events.
406 + this.stopInspectingDOM();
407 this.emit('shutdown');
408 };
409