private void MainWindow_Closing(object sender, CancelEventArgs e)
 {
     videoSource.SignalToStop();
     try
     {
         myConnector.Close();
     }
     catch
     {
     }
 }
Ejemplo n.º 2
0
 private void MainWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e)
 {
     isRunning = false;
     myConectorHub.Close();
 }