Skip to content

Commit 509d469

Browse files
authored
Remove unnecessary optional chaining added in #23521 (#23536)
1 parent d9ac1ee commit 509d469

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/libwebgl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1191,7 +1191,7 @@ for (/**@suppress{duplicate}*/var i = 0; i <= {{{ GL_POOL_TEMP_BUFFERS_SIZE }}};
11911191
}
11921192
// Make sure the canvas object no longer refers to the context object so
11931193
// there are no GC surprises.
1194-
if (GL.contexts[contextHandle]?.GLctx?.canvas) {
1194+
if (GL.contexts[contextHandle]?.GLctx.canvas) {
11951195
GL.contexts[contextHandle].GLctx.canvas.GLctxObject = undefined;
11961196
}
11971197
#if PTHREADS

0 commit comments

Comments
 (0)