Пример #1
0
 protected override void Dispose(bool disposing)
 {
     base.Dispose(disposing);
     if (disposing)
     {
         _touchTranslator.Dispose();
         _rootController?.Dispose();
     }
 }
Пример #2
0
 public void Cleanup()
 {
     controller.Dispose();
     controller = null;
 }