This commit is contained in:
AF 2022-11-04 06:22:42 +00:00
parent 80aa527e52
commit 46d585c762

View File

@ -286,6 +286,8 @@ class DbConnection:
self.__task.cancel()
await self._dump_buffer()
self.__file.close()
self.__pool.shutdown()
self.__pool = concurrent.futures.ThreadPoolExecutor()
await self._build_file(self.__mmdb)
self.not_running = True
self.__pool.shutdown()