remove hs after creation in generate onions

This commit is contained in:
Kevin Froman 2020-10-26 06:10:56 +00:00
parent da11c74f6c
commit 57ec04eff5
1 changed files with 1 additions and 0 deletions

View File

@ -36,5 +36,6 @@ with Controller.from_port('127.0.0.1', 2778) as controller:
await_publication=False,
detached=True)
print(hs.service_id + ".onion")
controller.remove_ephemeral_hidden_service(hs.service_id)
tor_process.kill()