further deamon-related changes
This commit is contained in:
parent
da4cf1f1cb
commit
b8f44aadb4
|
@ -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 *
|
||||
|
|
Loading…
Reference in New Issue
Block a user