Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d496d99

Browse files
committed
Fixes #1774
1 parent d20e9fe commit d496d99

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from lib.core.revision import getRevisionNumber
2121

2222
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23-
VERSION = "1.0.3.4"
23+
VERSION = "1.0.3.5"
2424
REVISION = getRevisionNumber()
2525
STABLE = VERSION.count('.') <= 2
2626
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")

lib/core/threads.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,10 @@ def runThreads(numThreads, threadFunction, cleanupFunction=None, forwardExceptio
200200

201201
for lock in kb.locks.values():
202202
if lock.locked_lock():
203-
lock.release()
203+
try:
204+
lock.release()
205+
except thread.error:
206+
pass
204207

205208
if conf.get("hashDB"):
206209
conf.hashDB.flush(True)

0 commit comments

Comments
 (0)