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
1 changed files with 1 additions and 1 deletions

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();