Closed ckfear closed 1 year ago
Just ran into this today as well. Any progress on the merging process here? @leeway1208
Hi troupmar, 😄 I tested the logic of calling the disconnect() method and it will not cause reconnection, unless mqtt!.autoReconnect = true is set, is there any difference on your side?
Yes, that is right. However I do not assume the re-connection should happen (even when the autoReconnect is set to true) if I explicitly call the disconnect() method. It should only happen if the disconnection happens internally. Or am I missing something?
Haha got it, good idea, I will discuss with my colleagues. Thanks
fix the issue #465