this fixes an issue similar to #356 that exists when using with python312 and 311, I didn't test with other versions.
couldn't find where the leak is, so gc.collect() from the gc module is used at the end of the _close_data() function to clear all unreachable and uncollected memory and release the file access lock.
this fixes an issue similar to #356 that exists when using with python312 and 311, I didn't test with other versions. couldn't find where the leak is, so
gc.collect()
from the gc module is used at the end of the_close_data()
function to clear all unreachable and uncollected memory and release the file access lock.