Skip to content

Commit a9a459a

Browse files
C-PC-P
authored andcommitted
Actual zombie thread fix
Commit-happy, the thread shutdown was within a debug block, so would work correctly when one is has debug enabled, but fail to end threads otherwise. Derp.
1 parent e82a888 commit a9a459a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

httpscreenshot.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,7 @@ def worker(urlQueue, tout, debug, headless, doProfile, vhosts, subs, extraHosts,
187187
else:
188188
if(debug):
189189
print'[-] URL queue is empty, quitting.'
190-
browser.quit()
191-
sys.exit(0)
190+
browser.quit()
192191
return
193192

194193
try:

0 commit comments

Comments
 (0)