aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorJonas Schnelli <jonas.schnelli@include7.ch>2015-06-19 16:32:22 +0200
committerJonas Schnelli <jonas.schnelli@include7.ch>2015-06-19 16:32:22 +0200
commit1c043d567230d639fa86afb96575689bfc8abdcd (patch)
tree8af62d8454edb480c9f1ade5f0e875bae8d61b02 /src/qt
parent932687bc105904e27ee120be95d2c9f1660ecdfa (diff)
fix lock issue for QT node diconnect and RPC disconnectnode
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/rpcconsole.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp
index 681617bd81..f828ce2534 100644
--- a/src/qt/rpcconsole.cpp
+++ b/src/qt/rpcconsole.cpp
@@ -687,7 +687,7 @@ void RPCConsole::disconnectSelectedNode()
QString strNode = GUIUtil::getEntryData(ui->peerWidget, 0, PeerTableModel::Address);
// Find the node, disconnect it and clear the selected node
if (CNode *bannedNode = FindNode(strNode.toStdString())) {
- bannedNode->CloseSocketDisconnect();
+ bannedNode->fDisconnect = true;
clearSelectedNode();
}
}