1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-04 16:47:15 +02:00

Fix incorrect reset value

This could cause spurious error messages in dev console of
content page.
This commit is contained in:
Raymond Hill 2020-10-31 10:18:42 -04:00
parent eb7d60441b
commit ba2ef925e9
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -433,7 +433,7 @@ vAPI.SafeAnimationFrame = class {
const cleanup = function() {
if ( domLayoutObserver !== undefined ) {
domLayoutObserver.disconnect();
domLayoutObserver = null;
domLayoutObserver = undefined;
}
if ( safeObserverHandlerTimer !== undefined ) {
safeObserverHandlerTimer.clear();