mirror of
				https://github.com/avatao-content/baseimage-tutorial-framework
				synced 2025-11-04 05:22:55 +00:00 
			
		
		
		
	Fix ProcessMonitor pausing being useless due to pmgeh refactor
This commit is contained in:
		@@ -7,9 +7,11 @@ from tfw.config import tfwenv
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
if __name__ == '__main__':
 | 
			
		||||
    eventhandlers = {SourceCodeEventHandler('webide', tfwenv.WEBIDE_WD),
 | 
			
		||||
                     TerminadoEventHandler('terminado', 'terminado'),
 | 
			
		||||
                     ProcessManagingEventHandler('processmanager')}
 | 
			
		||||
    ide = SourceCodeEventHandler('webide', tfwenv.WEBIDE_WD)
 | 
			
		||||
    terminado = TerminadoEventHandler('terminado', 'terminado')
 | 
			
		||||
    processmanager = ProcessManagingEventHandler('processmanager', ide.monitor)
 | 
			
		||||
 | 
			
		||||
    eventhandlers = {ide, terminado, processmanager}
 | 
			
		||||
    try:
 | 
			
		||||
        IOLoop.instance().start()
 | 
			
		||||
    finally:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user