(self)
Terminate all connections and clear the pool. Executed when the engine stops.
Terminate all connections and clear the pool. Executed when the engine stops.
Terminate all connections and clear the pool . Executed when the engine stops .
def cleanup(self):
        """
        Terminate all connections and clear the pool. Executed when the engine stops.
        """
        self.manager.close_all()
        self.manager.stop()
        self.manager.join()
def cleanup ( self ) : self . manager . close_all ( ) self . manager . stop ( ) self . manager . join ( )