Microsoft.Iot.IotCoreAppDeployment.WebbHelper.InvalidateToken C# (CSharp) Method

InvalidateToken() private method

private InvalidateToken ( ) : void
return void
        private void InvalidateToken()
        {
            Debug.WriteLine("Ending WebB call...");

            // Issue a cancel. Can't dispose here because the HttpCancellationHelper is still holding on to this.  
            // Expect it to be disposed by garbage collector.
            _tokenSource.Cancel();
            _tokenSource = null;
        }