Skip to content
Snippets Groups Projects
Commit fb2fcf26 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Close on failed reconnect

parent 839e07f2
No related branches found
No related tags found
No related merge requests found
......@@ -183,9 +183,10 @@ bool Peer::reconnect() {
return true;
} catch(const std::exception& ex) {
net_->_notifyError(this, ftl::protocol::Error::kReconnectionFailed, ex.what());
net_->_notifyError(this, ftl::protocol::Error::kReconnectionFailed, ex.what());
}
close(true);
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment