Commit 7a39502
committed
fix mqtt_release fail when called after mqtt_lease
If mqtt_release() is called just after mqtt_lease(), the state is always
CLIENT_STATE_INITIALIZED and release fails as it checks for
CLIENT_STATE_INVALID.
Signed-off-by: Ajay Bhargav <ajay.bhargav@waybyte.in>1 parent 6583189 commit 7a39502
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1248 | 1248 | | |
1249 | 1249 | | |
1250 | 1250 | | |
| 1251 | + | |
| 1252 | + | |
| 1253 | + | |
| 1254 | + | |
1251 | 1255 | | |
1252 | 1256 | | |
1253 | 1257 | | |
| |||
0 commit comments