TAStudio - don't attempt to do winform things in Restart() if window is not open

This commit is contained in:
andres.delikat 2011-07-30 18:54:49 +00:00
parent ab97cb04a9
commit 6dc3c25a8d
1 changed files with 1 additions and 0 deletions

View File

@ -233,6 +233,7 @@ namespace BizHawk.MultiClient
public void Restart()
{
if (!this.IsHandleCreated || this.IsDisposed) return;
TASView.Clear();
ControllerBox.Controls.Clear();
ClearPads();