public void DestroyPath() { if (controller != null) { controller.DestroyPath(); controller = null; } }