示例#1
0
def _stop_mainloop():
	global stopping
	if not stopping:
		stopping = True
		dropConnections()
		reactor.stop()
		wait_for_all_threads() # Debugging

		from homevent.logging import stop_loggers
		stop_loggers()
示例#2
0
	def process(self, **k):
		super(Shutdown_Worker,self).process(**k)
		dropConnections()