Refactor subscription table logic and enhance Lua logging and debounce functionality
This commit is contained in:
parent
05123a5989
commit
edb2ba338a
3 changed files with 145 additions and 2 deletions
|
|
@ -35,7 +35,6 @@ impl SubscriptionTable {
|
|||
// swap_remove moves the last element into `idx`. We need to update by_id
|
||||
// for that element. But first, remove its stale entry (it was at the last
|
||||
// position before the swap); then re-insert it at the new position.
|
||||
let _last_idx = self.entries.len() - 1;
|
||||
self.entries.swap_remove(idx);
|
||||
|
||||
if idx < self.entries.len() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue