mirror of https://github.com/gorhill/uBlock.git
Fix incorrect reset value
This could cause spurious error messages in dev console of content page.
This commit is contained in:
parent
eb7d60441b
commit
ba2ef925e9
|
@ -433,7 +433,7 @@ vAPI.SafeAnimationFrame = class {
|
|||
const cleanup = function() {
|
||||
if ( domLayoutObserver !== undefined ) {
|
||||
domLayoutObserver.disconnect();
|
||||
domLayoutObserver = null;
|
||||
domLayoutObserver = undefined;
|
||||
}
|
||||
if ( safeObserverHandlerTimer !== undefined ) {
|
||||
safeObserverHandlerTimer.clear();
|
||||
|
|
Loading…
Reference in New Issue