Skip to content

Commit

Permalink
mark stats end after join threads (fixes #676)
Browse files Browse the repository at this point in the history
  • Loading branch information
xmendez committed Nov 21, 2017
1 parent 2a23432 commit 73482e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wfuzz/myqueues.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ def run(self):
self.task_done()

if item == None:
self.stats.mark_end()
break
elif cancelling:
continue
Expand Down Expand Up @@ -320,6 +319,7 @@ def cleanup(self):
if self._queues:
self._queues.values()[0].put_last(None)
self.join(remove=True)
self.options.get("compiled_genreq").stats.mark_end()
self._lastq.put_last(None, wait = False)

self._queues = collections.OrderedDict()
Expand Down

0 comments on commit 73482e1

Please sign in to comment.