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