From b8f44aadb46b64f7503b27f96fe7f74fae97684c Mon Sep 17 00:00:00 2001 From: Jonathan Warren Date: Thu, 2 May 2013 16:55:13 -0400 Subject: [PATCH] further deamon-related changes --- src/bitmessagemain.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bitmessagemain.py b/src/bitmessagemain.py index dd42d824..e5e772b7 100755 --- a/src/bitmessagemain.py +++ b/src/bitmessagemain.py @@ -3850,10 +3850,6 @@ if __name__ == "__main__": singleCleanerThread = singleCleaner() singleCleanerThread.daemon = True # close the main program even if there are threads left singleCleanerThread.start() - - singleListenerThread = singleListener() - singleListenerThread.daemon = True # close the main program even if there are threads left - singleListenerThread.start() shared.reloadMyAddressHashes() shared.reloadBroadcastSendersForWhichImWatching() @@ -3888,6 +3884,10 @@ if __name__ == "__main__": connectToStream(1) + singleListenerThread = singleListener() + singleListenerThread.daemon = True # close the main program even if there are threads left + singleListenerThread.start() + if not shared.safeConfigGetBoolean('bitmessagesettings','daemon'): try: from PyQt4.QtCore import *