Example #1
0
 private void MainWindow_OnClosing(object sender, CancelEventArgs e)
 {
     _gpsdService?.Disconnect();
 }
Example #2
0
 private static bool ExitHandler()
 {
     _gpsdService?.Disconnect();
     return(true);
 }