mirror of
https://github.com/littensy/charm.git
synced 2026-10-20 17:51:37 +00:00
fix: add missing recursed check
This commit is contained in:
parent
62fc690a7d
commit
1ac071b62a
1 changed files with 1 additions and 1 deletions
|
|
@ -184,7 +184,7 @@ local function createReactiveSystem(props: {
|
|||
local flags = sub.flags
|
||||
if bit32.band(flags, bit32.bor(PENDING, DIRTY)) == PENDING then
|
||||
sub.flags = bit32.bor(flags, DIRTY)
|
||||
if bit32.btest(flags, WATCHING) then
|
||||
if bit32.band(flags, bit32.bor(WATCHING, RECURSED_CHECK)) == WATCHING then
|
||||
notify(sub)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue