Closed joshuachp closed 2 months ago
Attention: Patch coverage is 57.14286%
with 18 lines
in your changes missing coverage. Please review.
Project coverage is 69.3%. Comparing base (
527a835
) to head (5d985c5
). Report is 2 commits behind head on master.
Files with missing lines | Patch % | Lines |
---|---|---|
src/connection.rs | 75.0% | 8 Missing :warning: |
src/transport/mqtt/mod.rs | 0.0% | 7 Missing :warning: |
src/client.rs | 0.0% | 3 Missing :warning: |
Implement the
DisconnectClient
trait on theDeviceClient
, because after thehandle_events
takes ownership of the connection. The client needs to send the disconnect over the connection and then the connection will handle it and both tasks will exit.Depends on #363