Skip to content

Commit

Permalink
#121 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zachar1a committed Oct 8, 2020
1 parent b386da5 commit d138a0a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions GroundSystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
import shlex
import subprocess
import sys
from pathlib import Path
import os
import signal
import pathlib

from PyQt5.QtWidgets import QApplication, QMainWindow, QMessageBox

Expand All @@ -36,8 +38,8 @@

__version__ = _version

# this needs to be changed to the path of cfs-groundsystem
ROOTDIR = Path(sys.argv[0]).resolve().parent
#ROOTDIR = Path(sys.argv[0]).resolve().parent
ROOTDIR = pathlib.Path(__file__).parent.absolute()


#
Expand Down Expand Up @@ -71,7 +73,7 @@ def closeEvent(self, evnt):
if self.RoutingService:
self.RoutingService.stop()
print("Stopped routing service")

os.kill(0, signal.SIGKILL)
super().closeEvent(evnt)

# Read the selected spacecraft from combo box on GUI
Expand Down

0 comments on commit d138a0a

Please sign in to comment.