Example #1
0
def _stop_mainloop():
	global stopping
	if not stopping:
		stopping = True
		dropConnections()
		wait_for_all_threads() # Debugging

		from moat.logging import stop_loggers
		stop_loggers()
		shut_down()
Example #2
0
def _stop_mainloop():
    global stopping
    if not stopping:
        stopping = True
        dropConnections()
        wait_for_all_threads()  # Debugging

        from moat.logging import stop_loggers
        stop_loggers()
        shut_down()
Example #3
0
	def process(self, **k):
		super(Shutdown_Worker,self).process(**k)
		dropConnections()
		_stop_mainloop()
Example #4
0
 def process(self, **k):
     super(Shutdown_Worker, self).process(**k)
     dropConnections()
     _stop_mainloop()