avoid tor deadlock, clenaup annotations on delete

This commit is contained in:
j 2019-02-16 13:26:31 +05:30
commit 8169d8e720
2 changed files with 15 additions and 3 deletions

View file

@ -103,6 +103,7 @@ DirReqStatistics 0
for line in self.p.stdout:
self._status.append(line)
logger.debug(line)
self.p.communicate()
time.sleep(0.5)
self.p = None