fixed crash when metadata window is closed before artwork is loaded

This commit is contained in:
chudov
2012-04-17 02:42:18 +00:00
parent 8e61e9b54f
commit ee4b109d16
3 changed files with 15 additions and 3 deletions

View File

@@ -54,6 +54,7 @@
// backgroundWorker1
//
this.backgroundWorker1.WorkerReportsProgress = true;
this.backgroundWorker1.WorkerSupportsCancellation = true;
this.backgroundWorker1.DoWork += new System.ComponentModel.DoWorkEventHandler(this.backgroundWorker1_DoWork);
this.backgroundWorker1.ProgressChanged += new System.ComponentModel.ProgressChangedEventHandler(this.backgroundWorker1_ProgressChanged);
this.backgroundWorker1.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.backgroundWorker1_RunWorkerCompleted);