-
Notifications
You must be signed in to change notification settings - Fork 576
Closed
Labels
bugSomething isn't working as it's supposed toSomething isn't working as it's supposed to
Milestone
Description
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 toSomething isn't working as it's supposed to