Esempio n. 1
0
 public void OnRelease()
 {
     if (m_tempFile != null)
     {
         m_tempFile = null;
     }
     if (m_thread != null)
     {
         m_thread.Abort();
         m_thread = null;
     }
 }
Esempio n. 2
0
 void OnTaskStart()
 {
     //create temp file
     m_tempFile = new DownloadTempFile(m_url, m_name, m_signature, OnFinishedCallback);
     m_tempFile.Start();
 }