diff options
author | Alan Young <consult.awy@gmail.com> | 2016-09-12 17:07:29 (GMT) |
---|---|---|
committer | Alan Young <consult.awy@gmail.com> | 2016-09-13 09:42:16 (GMT) |
commit | c20ff48f2c55c9b48a8fb181a3c3fdb9921bd054 (patch) | |
tree | ea3516f31cf868f41653e239d7e04f669c745616 | |
parent | 0794a4c6cc50b087bf12622ed6830f93e9250481 (diff) | |
download | stroke-c20ff48f2c55c9b48a8fb181a3c3fdb9921bd054.zip stroke-c20ff48f2c55c9b48a8fb181a3c3fdb9921bd054.tar.bz2 |
Fix cut-n-paste typo
Change-Id: Ie57f18aee639d6ba911cd95ac6b45d048462c105
-rw-r--r-- | src/com/isode/stroke/network/Connector.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/isode/stroke/network/Connector.java b/src/com/isode/stroke/network/Connector.java index 2823679..73a478b 100644 --- a/src/com/isode/stroke/network/Connector.java +++ b/src/com/isode/stroke/network/Connector.java @@ -218,9 +218,9 @@ public class Connector { addressQuery.onResult.disconnectAll(); addressQuery = null; } - if (currentConnection != null) { + if (currentConnectionConnectFinishedConnection != null) { currentConnectionConnectFinishedConnection.disconnect(); - currentConnection = null; + currentConnectionConnectFinishedConnection = null; } onConnectFinished.emit(connection, (connection != null || foundSomeDNS) ? null : new DomainNameResolveError()); |