def stopService(self): """ Stop the database service, closing all open indices. """ Plugin.stopService(self) # close the DB environment self._env.close() logger.debug("[%s] closed database environment" % self.name)
def stopService(self): """ Stop the database service, closing all open indices. """ Plugin.stopService(self) # close the DB environment self._env.close() self._logfd.stopReading() self._logfd = None logger.debug("[%s] closed database environment" % self.name)
def stopService(self): if not self._listener == None: self._listener.stopListening() self._listener = None Plugin.stopService(self) logger.info("[%s] stopped listening for remote messages" % self.name)