Skip to content

Commit

Permalink
Fix #7453
Browse files Browse the repository at this point in the history
  • Loading branch information
andresriancho committed Jan 13, 2015
1 parent c0c84cf commit cad53d4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion w3af/core/controllers/output_manager/manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,14 @@ def od_wrapper(*args, **kwds):

with OutputManager.start_lock:
if not manager.is_alive():
manager.start()
try:
manager.start()
except RuntimeError:
# is_alive() doesn't always return the true state of the
# thread, thus we need to add this try/except, see:
#
# https://github.com/andresriancho/w3af/issues/7453
pass
return func(*args, **kwds)
return od_wrapper

Expand Down

0 comments on commit cad53d4

Please sign in to comment.