Try to invoke the connect callback if we shutdown while connect is in progress

Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
master
Ronnie Sahlberg 2019-12-17 08:50:23 +10:00
parent 548fa961a8
commit 394b185486
1 changed files with 1 additions and 0 deletions

View File

@ -795,6 +795,7 @@ rpc_disconnect(struct rpc_context *rpc, const char *error)
rpc_error_all_pdus(rpc, error);
}
maybe_call_connect_cb(rpc, RPC_STATUS_CANCEL);
return 0;
}