tastudio: attempt to fix crash caused by seek progressbar
This commit is contained in:
parent
2734bb11ce
commit
00d07b8602
|
@ -248,7 +248,7 @@ namespace BizHawk.Client.EmuHawk
|
||||||
this.Invoke(() => this.SavingProgressBar.Visible = true);
|
this.Invoke(() => this.SavingProgressBar.Visible = true);
|
||||||
for ( ; ; )
|
for ( ; ; )
|
||||||
{
|
{
|
||||||
if (_seekBackgroundWorker.CancellationPending)
|
if (_seekBackgroundWorker.CancellationPending || !this.IsHandleCreated)
|
||||||
{
|
{
|
||||||
e.Cancel = true;
|
e.Cancel = true;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue