Main thread end

- instead of sleeping, it just ends
This commit is contained in:
Peter Šurda 2017-06-21 12:16:56 +02:00
parent 0cc8589b27
commit 618f3865c1
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -309,9 +309,6 @@ class Main:
else: else:
BMConfigParser().remove_option('bitmessagesettings', 'dontconnect') BMConfigParser().remove_option('bitmessagesettings', 'dontconnect')
while True:
time.sleep(20)
def daemonize(self): def daemonize(self):
if os.fork(): if os.fork():
exit(0) exit(0)