Skip to content

Commit

Permalink
Joined ending of processes
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarohurtadobo committed Jul 12, 2018
1 parent 842280a commit 514a60d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions questions.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ def _correrGui(self,fullScreen):
interfaz = InterfazPreguntas(GUIParalela.myQueue,pantallaTotal=fullScreen)
sys.exit(app.exec_())

def __del__(self):
self.process.join()


class PopUp(QtGui.QWidget): #QWidget #QMainWindow
"""
Expand Down
3 changes: 3 additions & 0 deletions video.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ def _correrGui(self,fullScreen,lcd):
app = QtGui.QApplication(sys.argv)
interfaz = InterfazVideo(GUIParalela.myQueue,pantallaTotal=fullScreen,lcd=lcd)
sys.exit(app.exec_())

def __del__(self):
self.process.join()

class PopUp(QtGui.QWidget): #QWidget #QMainWindow
"""
Expand Down

0 comments on commit 514a60d

Please sign in to comment.