Skip to content

Commit b77612f

Browse files
committed
Add TODO notes
1 parent fe45bd9 commit b77612f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

UDKTests/run_udk_tests.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -697,6 +697,20 @@ async def main():
697697
if __name__ == "__main__":
698698
try:
699699
asyncio.run(main())
700+
except KeyboardInterrupt:
701+
logger.warning("exiting by KeyboardInterrupt")
702+
703+
# TODO: we need to properly forward the signal to all
704+
# subprocesses and threads!
705+
706+
if BUILDING_EVENT:
707+
BUILDING_EVENT.set()
708+
if TESTING_EVENT:
709+
TESTING_EVENT.set()
710+
if POKER_EVENT:
711+
POKER_EVENT.set()
712+
713+
raise
700714
except Exception as _e:
701715
logger.error("error running main: {}", _e)
702716

0 commit comments

Comments
 (0)