mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-10 07:20:02 +00:00
Fixes #3871
This commit is contained in:
parent
de63238897
commit
15f6796b04
2 changed files with 2 additions and 2 deletions
|
|
@ -85,7 +85,7 @@ def lockedmethod(f):
|
|||
@functools.wraps(f)
|
||||
def _(*args, **kwargs):
|
||||
if f not in _method_locks:
|
||||
_method_locks[f] = threading.Lock()
|
||||
_method_locks[f] = threading.RLock()
|
||||
|
||||
with _method_locks[f]:
|
||||
result = f(*args, **kwargs)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue