From 761adaddc5cfdedd30e0ccf705ac711ccf5706b8 Mon Sep 17 00:00:00 2001 From: Chris Sellers Date: Sat, 23 Mar 2024 19:31:27 +1100 Subject: [PATCH] Revert shutting down cache database in finalizer --- nautilus_trader/cache/database.pyx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/nautilus_trader/cache/database.pyx b/nautilus_trader/cache/database.pyx index 94703e02f9b8..dfc465369a76 100644 --- a/nautilus_trader/cache/database.pyx +++ b/nautilus_trader/cache/database.pyx @@ -162,10 +162,6 @@ cdef class CacheDatabaseAdapter(CacheDatabaseFacade): config_json=msgspec.json.encode(config), ) - def __del__(self) -> None: - self._log.info("Shutting down cache database") - self._backing.shutdown() - # -- COMMANDS ------------------------------------------------------------------------------------- cpdef void flush(self):