mosquitto-lib: close socketpair on (re)connect
If the socket pair is still opened on reconnect, close it before creating it again (just like the state variables). Otherwise, these sockets are leaked on multiple mosquitto_connect() calls. Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>pull/145/head
parent
720d52d86e
commit
c02cdbefdc
Loading…
Reference in New Issue