示例#1
0
 def stopService(self):
     self.pool.close()
     d = Service.stopService()
     log.info("Database stopped.")
     return d
示例#2
0
 def stopService(self):
     try:
         yield Service.stopService(self)
     except Exception as e:
         log.error("Exception {excp!s}", excp=e)
         reactor.stop()
示例#3
0
 def stopService(self):
     self.closePool()
     d = Service.stopService()
     log.info("Database stopped.")
     return d