Skip to content

Commit

Permalink
Merge pull request #389 from Ticsmtc/fix-missing-inflight-update
Browse files Browse the repository at this point in the history
Fix missing self.inflight += 1
  • Loading branch information
de-sh authored May 19, 2022
2 parents 233110c + 5fa89df commit 18c56c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rumqttc/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,7 @@ impl MqttState {
};

self.outgoing_rel[pubrel.pkid as usize] = Some(pubrel.pkid);
self.inflight += 1;
Ok(pubrel)
}

Expand Down

0 comments on commit 18c56c1

Please sign in to comment.