mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Fix code style
This commit is contained in:
parent
ccbf7efa56
commit
5ed2413dac
1 changed files with 4 additions and 2 deletions
|
|
@ -125,10 +125,12 @@ public class PythonInterpreter extends Interpreter {
|
|||
|
||||
logger.info("closing Python interpreter .....");
|
||||
try {
|
||||
if (process != null)
|
||||
if (process != null) {
|
||||
process.close();
|
||||
if (gatewayServer != null)
|
||||
}
|
||||
if (gatewayServer != null) {
|
||||
gatewayServer.shutdown();
|
||||
}
|
||||
} catch (IOException e) {
|
||||
logger.error("Can't close the interpreter", e);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue