Fix ProcessMonitor pausing being useless due to pmgeh refactor

This commit is contained in:
Kristóf Tóth 2018-03-02 10:43:09 +01:00
parent 715e39af0d
commit cb88acb54f

View File

@ -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: