Fun.FunapiHttpTransport.Stop C# (CSharp) Méthode

Stop() private méthode

private Stop ( ) : void
Résultat void
        internal override void Stop()
        {
            if (state_ == State.kUnknown)
                return;

            #if !NO_UNITY
            if (cur_www_ != null)
                cancel_www_ = true;
            #endif

            ClearRequest();

            foreach (WebState ws in list_)
            {
                if (ws.request != null)
                {
                    ws.aborted = true;
                    ws.request.Abort();
                }

                if (ws.stream != null)
                    ws.stream.Close();
            }

            list_.Clear();

            base.Stop();
        }