Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
componentWillUnmount()
{
logger.debug('componentWillUnmount()');
this._mounted = false;
JsSIP.Utils.closeMediaStream(this._localClonedStream);
}