summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn/OpenVpnManagementThread.java
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-08-17 20:18:19 +0200
committerArne Schwabe <arne@rfc2549.org>2012-08-17 20:18:19 +0200
commiteed0b325a50fea16c71919c9893445b33929ab75 (patch)
tree9325af2ff9329cd705727f6404bfd675aa2072e1 /src/de/blinkt/openvpn/OpenVpnManagementThread.java
parent939eff1218f5527a7e225deaebdc7e592c121759 (diff)
really fix NPE from market
Diffstat (limited to 'src/de/blinkt/openvpn/OpenVpnManagementThread.java')
-rw-r--r--src/de/blinkt/openvpn/OpenVpnManagementThread.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/de/blinkt/openvpn/OpenVpnManagementThread.java b/src/de/blinkt/openvpn/OpenVpnManagementThread.java
index dcadfdbd..d593832a 100644
--- a/src/de/blinkt/openvpn/OpenVpnManagementThread.java
+++ b/src/de/blinkt/openvpn/OpenVpnManagementThread.java
@@ -439,7 +439,7 @@ public class OpenVpnManagementThread implements Runnable {
mt.managmentCommand("signal SIGINT\n");
sendCMD=true;
try {
- if(mt !=null)
+ if(mt.mSocket !=null)
mt.mSocket.close();
} catch (IOException e) {
// Ignore close error on already closed socket