We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04d1da2 commit e9cfc49Copy full SHA for e9cfc49
packages/scheduler/src/SchedulerProfiling.js
@@ -24,7 +24,7 @@ export const sharedProfilingBuffer = enableProfiling
24
?
25
isEnabledSharedArrayBuffer
26
? new SharedArrayBuffer(profilingStateSize * Int32Array.BYTES_PER_ELEMENT)
27
- : // $FlowFixMe Flow doesn't know about ArrayBuffer
+ :
28
typeof ArrayBuffer === 'function'
29
? new ArrayBuffer(profilingStateSize * Int32Array.BYTES_PER_ELEMENT)
30
: null // Don't crash the init path on IE9
0 commit comments