mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
little stabilization of multi threading
This commit is contained in:
@@ -129,8 +129,8 @@ def main():
|
||||
kb.threadContinue = False
|
||||
kb.threadException = True
|
||||
|
||||
# just in case handling of leftover threads
|
||||
raise SystemExit
|
||||
# Reference: http://stackoverflow.com/questions/1635080/terminate-a-multi-thread-python-program
|
||||
os._exit(0)
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
|
||||
Reference in New Issue
Block a user