From c8bf2c64d2e8aff67b2a86875ce8bba3227acd43 Mon Sep 17 00:00:00 2001 From: Divyanshu110011 Date: Fri, 20 Feb 2026 14:09:33 +0530 Subject: [PATCH 1/2] fixed up overlapping subscriptions/sequential evictions --- src/mqtt/trie/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mqtt/trie/mod.rs b/src/mqtt/trie/mod.rs index 1d30727..1407ae5 100644 --- a/src/mqtt/trie/mod.rs +++ b/src/mqtt/trie/mod.rs @@ -336,7 +336,7 @@ impl<'a, T: 'a> IdEntry<'a, T> { } Some(remove_entry(self.entry_id(), self.nodes, |node| { - node.leaf_data.all(&mut empty) + node.filters.is_empty() && node.leaf_data.all(&mut empty) })) } From ebe2a0b5ed7159c7273c80cfd0a2a05cc75b6f7e Mon Sep 17 00:00:00 2001 From: Divyanshu110011 Date: Fri, 20 Feb 2026 15:36:00 +0530 Subject: [PATCH 2/2] increased version version --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 6ea4de5..dfe4d90 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,7 @@ features = ["full"] [package] name = "foxmq" -version = "0.3.0" +version = "0.3.1" edition = "2021" publish = false default-run = "foxmq"