From ebb86a05d5bdd48730e80ab869eef3b5e228d8b8 Mon Sep 17 00:00:00 2001 From: rusefi Date: Wed, 22 Jul 2020 16:41:56 -0400 Subject: [PATCH] proxy progress --- .../proxy_server/src/main/java/com/rusefi/server/Backend.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/java_tools/proxy_server/src/main/java/com/rusefi/server/Backend.java b/java_tools/proxy_server/src/main/java/com/rusefi/server/Backend.java index 64cf5ae798..a3bbb6e65a 100644 --- a/java_tools/proxy_server/src/main/java/com/rusefi/server/Backend.java +++ b/java_tools/proxy_server/src/main/java/com/rusefi/server/Backend.java @@ -178,7 +178,8 @@ public class Backend implements Closeable { } private void close(ApplicationConnectionState applicationConnectionState) { - applicationConnectionState.close(); + if (applicationConnectionState != null) + applicationConnectionState.close(); onDisconnectApplication(applicationConnectionState); }