(self)
stop the server thread. once stopped, it cannot be resumed. you will
        have to create a new BgServingThread object later.
stop the server thread. once stopped, it cannot be resumed. you will
        have to create a new BgServingThread object later.
stop the server thread . once stopped it cannot be resumed . you will have to create a new BgServingThread object later .
def stop(self):
        """stop the server thread. once stopped, it cannot be resumed. you will
        have to create a new BgServingThread object later."""
        assert self._active
        self._active = False
        self._thread.join()
        self._conn = None
def stop ( self ) : assert self . _active self . _active = False self . _thread . join ( ) self . _conn = None