Skip to content

Commit

Permalink
removed writer does not count as tracked
Browse files Browse the repository at this point in the history
  • Loading branch information
chm-diederichs committed Aug 6, 2024
1 parent 919fe24 commit 630202e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/system.js
Original file line number Diff line number Diff line change
Expand Up @@ -305,11 +305,11 @@ module.exports = class SystemView extends ReadyResource {
cas (older, newer) {
if (older === null) return true

wasTracked = true

const o = older.value
const n = newer.value

if (!o.isRemoved) wasTracked = true

if (length === 0 && o.length) length = o.length

return o.isRemoved !== n.isRemoved || o.isIndexer !== n.isIndexer || o.length !== n.length
Expand Down

0 comments on commit 630202e

Please sign in to comment.