From ef134c2ea7769f88d27551ce7a737010cdc587b2 Mon Sep 17 00:00:00 2001 From: Jonathan Corwin Date: Mon, 18 Jun 2012 23:05:11 +0100 Subject: [PATCH] Release the application reference --- openlp/core/ui/mainwindow.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openlp/core/ui/mainwindow.py b/openlp/core/ui/mainwindow.py index be58e1cd6..52955f40f 100644 --- a/openlp/core/ui/mainwindow.py +++ b/openlp/core/ui/mainwindow.py @@ -1216,6 +1216,8 @@ class MainWindow(QtGui.QMainWindow, Ui_MainWindow): if self.liveController.display: self.liveController.display.close() self.liveController.display = None + # Allow the main process to exit + self.application = None def serviceChanged(self, reset=False, serviceName=None): """