Testing fixes for security improvement, thread safety, and memory management.

This commit is contained in:
Storm Dragon
2025-06-09 14:41:33 -04:00
parent 62e1001679
commit 6998706934
7 changed files with 19 additions and 10 deletions

View File

@ -92,7 +92,7 @@ class memoryManager():
def clearCurrentIndexList(self, name):
if not self.listStorageValid(name):
return False
self.listStorage[name]['index'] = []
self.listStorage[name]['list'] = []
self.listStorage[name]['index'] = -1
def getCurrentIndex(self,name):
if not self.listStorageValid(name):
@ -103,7 +103,7 @@ class memoryManager():
try:
return self.listStorage[name]['index']
except:
retrun -1
return -1
def isIndexListEmpty(self, name):
if not self.listStorageValid(name):
return False