further deamon-related changes
This commit is contained in:
parent
da4cf1f1cb
commit
b8f44aadb4
|
@ -3850,10 +3850,6 @@ if __name__ == "__main__":
|
||||||
singleCleanerThread = singleCleaner()
|
singleCleanerThread = singleCleaner()
|
||||||
singleCleanerThread.daemon = True # close the main program even if there are threads left
|
singleCleanerThread.daemon = True # close the main program even if there are threads left
|
||||||
singleCleanerThread.start()
|
singleCleanerThread.start()
|
||||||
|
|
||||||
singleListenerThread = singleListener()
|
|
||||||
singleListenerThread.daemon = True # close the main program even if there are threads left
|
|
||||||
singleListenerThread.start()
|
|
||||||
|
|
||||||
shared.reloadMyAddressHashes()
|
shared.reloadMyAddressHashes()
|
||||||
shared.reloadBroadcastSendersForWhichImWatching()
|
shared.reloadBroadcastSendersForWhichImWatching()
|
||||||
|
@ -3888,6 +3884,10 @@ if __name__ == "__main__":
|
||||||
|
|
||||||
connectToStream(1)
|
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'):
|
if not shared.safeConfigGetBoolean('bitmessagesettings','daemon'):
|
||||||
try:
|
try:
|
||||||
from PyQt4.QtCore import *
|
from PyQt4.QtCore import *
|
||||||
|
|
Reference in New Issue
Block a user