Skip to content

Commit

Permalink
try back to close to see it fail
Browse files Browse the repository at this point in the history
  • Loading branch information
levb committed Jul 13, 2024
1 parent f09a681 commit f81bce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/conn.c
Original file line number Diff line number Diff line change
Expand Up @@ -3435,7 +3435,7 @@ natsConnection_Reconnect(natsConnection *nc)
return nats_setDefaultError(NATS_CONNECTION_CLOSED);
}

natsSock_Shutdown(nc->sockCtx.fd);
natsSock_Close(nc->sockCtx.fd);

natsConn_Unlock(nc);
return NATS_OK;
Expand Down

0 comments on commit f81bce2

Please sign in to comment.