tastudio: attempt to fix crash caused by seek progressbar

This commit is contained in:
feos 2016-10-29 16:57:40 +03:00
parent 2734bb11ce
commit 00d07b8602
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ namespace BizHawk.Client.EmuHawk
this.Invoke(() => this.SavingProgressBar.Visible = true);
for ( ; ; )
{
if (_seekBackgroundWorker.CancellationPending)
if (_seekBackgroundWorker.CancellationPending || !this.IsHandleCreated)
{
e.Cancel = true;
break;