/// <summary>
 /// Called when the host is shutting down.
 /// </summary>
 public void OnDestroy()
 {
     _uiImplementation.OnDestroy();
 }