TAStudio - don't attempt to do winform things in Restart() if window is not open
This commit is contained in:
parent
ab97cb04a9
commit
6dc3c25a8d
|
@ -233,6 +233,7 @@ namespace BizHawk.MultiClient
|
||||||
|
|
||||||
public void Restart()
|
public void Restart()
|
||||||
{
|
{
|
||||||
|
if (!this.IsHandleCreated || this.IsDisposed) return;
|
||||||
TASView.Clear();
|
TASView.Clear();
|
||||||
ControllerBox.Controls.Clear();
|
ControllerBox.Controls.Clear();
|
||||||
ClearPads();
|
ClearPads();
|
||||||
|
|
Loading…
Reference in New Issue