Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
componentWillUnmount() {
raf.cancel(this._raf);
clearTimeout(this._startupTimeout);
Visitors.remove(this);
}
onVisitorLoggerChange = (e: *) => {
Visitors.remove(inspectorVisitorLogger);
if (e.target.checked) {
Visitors.add(inspectorVisitorLogger);
}
};