fix(observe): clear stale notifications before re-attempting observe mode
This commit is contained in:
1 parent
97260441f1
commit
eecbc19dde
2 files changed
+63
-9
No files matched your search
@@ -87,6 +87,7 @@ class ObserveManager:
|
||||
"""Blocking — subscribes to every href then sleeps for the whole
|
||||
grace period. Caller must run this in an executor, never on the
|
||||
event loop."""
|
||||
self._notified.clear()
|
||||
subscribed: set[str] = set()
|
||||
for href in hrefs:
|
||||
segs = [s for s in href.strip('/').split('/') if s]
|
||||
|
||||
Reference in new issue
Block a user