This commit is contained in:
Carl Mungazi
2019-01-11 21:46:05 -08:00
committed by Brandon Dail
parent f290138d32
commit 0005d1e3f5
+1 -1
View File
@@ -194,7 +194,7 @@ function flushWork(didTimeout) {
firstCallbackNode !== null &&
!(enableSchedulerDebugging && isSchedulerPaused)
) {
// TODO Wrap i nfeature flag
// TODO Wrap in feature flag
// Read the current time. Flush all the callbacks that expire at or
// earlier than that time. Then read the current time again and repeat.
// This optimizes for as few performance.now calls as possible.