WeiZhong94 commented on issue #9490: [hotfix][python] add System.exit() at the end of PythonGatewayServer to ensure the JVM will exit if its parent process dies. URL: https://github.com/apache/flink/pull/9490#issuecomment-523264436 @hequn8128 Thanks a lot for your review. This change is to make sure the JVM could exit after the Python process exits even if there are some threads running in the JVM. System.exit is a special method provided to terminates the currently running JVM, and the test seems not necessary for me as it seems that we are trying to test the behavior of the JVM. Does that make sense to you?
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services