Fixed: mis-threading

This commit is contained in:
Ray 2019-04-24 22:33:42 +01:00
parent d0471a03a8
commit 17e4e867eb

View File

@ -678,7 +678,6 @@ namespace bzit.bomg
loadFileType = LoadFileType.Jsnx;
loadFileThread.RunWorkerAsync();
break;
}
}
@ -690,8 +689,6 @@ namespace bzit.bomg
usePassword = false;
loadFileType = LoadFileType.Jsnx;
loadFileThread.RunWorkerAsync();
}
break;
@ -717,7 +714,6 @@ namespace bzit.bomg
loadFileType = LoadFileType.Ryz;
loadFileThread.RunWorkerAsync();
break;
}
}
@ -729,14 +725,23 @@ namespace bzit.bomg
usePassword = false;
loadFileType = LoadFileType.Ryz;
loadFileThread.RunWorkerAsync();
}
break;
default:
sessionFilename = sessionPassword = null;
usePassword = false;
break;
}
if (string.IsNullOrWhiteSpace(sessionFilename))
{
return;
}
this.IsBusy = true;
loadFileThread.RunWorkerAsync();
}
protected void loadBookmarkFile_ForJSNX(string filename, string password = "")