예제 #1
0
파일: reactor.py 프로젝트: smurfix/HomEvenT
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
파일: reactor.py 프로젝트: smurfix/HomEvenT
	def process(self, **k):
		super(Shutdown_Worker,self).process(**k)
		dropConnections()