mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-08 01:13:17 +01:00
fix for that unhandled (after program exit) KeyboardInterrupt
This commit is contained in:
parent
b79dae6e95
commit
23cec012d1
1 changed files with 3 additions and 0 deletions
|
|
@ -126,5 +126,8 @@ def main():
|
||||||
kb.threadContinue = False
|
kb.threadContinue = False
|
||||||
kb.threadException = True
|
kb.threadException = True
|
||||||
|
|
||||||
|
# just in case handling of leftover threads
|
||||||
|
raise SystemExit
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue