private void DisposeVisHost() { if (visHost != null) { visHost.Dispose(); visHost = null; } }
private void LaunchVis() { if (visHost == null) { visHost = new Vis.VisHost(player); visHost.Closed += VisHost_Closed; //visHost.Player = player; visHost.Run(); } }