def stopService(self): """ Write back the last document identifier, and sync the backing file to disk. """ self._writelast(self._idcache.pop(0)) os.close(self._idstore) self._idstore = None self._idcache = [] return Manager.stopService(self)
def stopService(self): for input in self._inputs.values(): input.stopService() for output in self._outputs.values(): output.stopService() return Manager.stopService(self)