fix dom listener bug (#3095)
This commit is contained in:
@@ -2579,6 +2579,8 @@ async function stopGlobalIncrementalObserver() {
|
||||
window.globalObserverForDOMIncrement.disconnect();
|
||||
window.globalObserverForDOMIncrement.takeRecords(); // cleanup the older data
|
||||
while (
|
||||
window.globalParsedElementCounter &&
|
||||
window.globalOneTimeIncrementElements &&
|
||||
(await window.globalParsedElementCounter.get()) <
|
||||
window.globalOneTimeIncrementElements.length
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user