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>
parent
720d52d8
Please register or sign in to comment