Exemplo n.º 1
0
    public void Close(string ssss)
    {
        Test.Instance.Log("Close    " + ssss);
        isStop = true;

        if (mRequest != null)
        {
            mRequest.Abort();
            mRequest = null;
        }

        if (mResponse != null)
        {
            mResponse.Close();
            mResponse = null;
        }

        if (mHttpStream != null)
        {
            mHttpStream.Close();
            mHttpStream.Dispose();
            mHttpStream = null;
        }
        if (mDownloadThread != null)
        {
            mDownloadThread.Abort();
        }
        ZipUtility.Stop();
    }