Skip to content

Bitmessage does not shutdown correct in deamon mode #549

@merlink01

Description

@merlink01
import os
#Here is a Testscript:


import time
import tempfile
import threading
import bitmessagemain

#Define Working Path
path = tempfile.mkdtemp()
os.environ["BITMESSAGE_HOME"] = path

#Start and stop Bitmessage
bm = bitmessagemain.Main()
bm.start(daemon=True)
time.sleep(30)
bm.stop()

#Check if all threads are closed
while 1:
    time.sleep(2)
    thcount = 0
    threads = threading.enumerate()
    for th in threads:
        if th.is_alive():
            print th
            thcount += 1
    print thcount

Metadata

Metadata

Assignees

Labels

bugSomething isn't working as it's supposed to

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions