further deamon-related changes

This commit is contained in:
Jonathan Warren 2013-05-02 16:55:13 -04:00
parent da4cf1f1cb
commit b8f44aadb4

View File

@ -3851,10 +3851,6 @@ if __name__ == "__main__":
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 *