Dustin C. Hatch e92d8c9cef mqtt: Break out of receive loop on disconnect
Apparently, the `AsyncReceiver` stream produces nested `Option` objects.
The outer is `None` if "the stream is exhausted," which is somehow
different than the connection being closed; the inner `Option` is `None`
in that case.

We were originally ignoring the inner `None`, but just causes the
async task to go into a busy loop when connection is closed.  We need to
break out of the loop there instead.
2023-01-07 22:22:49 -06:00
2022-12-30 09:10:05 -06:00
2022-12-30 13:49:01 -06:00
2023-01-07 17:21:17 -06:00
2023-01-07 17:21:17 -06:00
2022-12-30 09:10:05 -06:00
Description
No description provided
211 KiB
Languages
Rust 99.9%
Shell 0.1%