mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
minor update
This commit is contained in:
@@ -76,6 +76,9 @@ class HashDB(object):
|
||||
self.flush()
|
||||
|
||||
def flush(self):
|
||||
if not self._write_cache:
|
||||
return
|
||||
|
||||
self._cache_lock.acquire()
|
||||
items = self._write_cache.items()
|
||||
self._write_cache.clear()
|
||||
|
||||
Reference in New Issue
Block a user