fix lock issue for QT node diconnect and RPC disconnectnode
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user