allbuild commit de644247

This commit is contained in:
Olivier Gagnon
2022-05-24 08:12:49 -04:00
parent de64424740
commit 8159dad5fa
70 changed files with 897 additions and 84 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ function wrapFunction(
if (safetyEnabled) workerScript.infiniteLoopSafetyCounter++;
if (workerScript.infiniteLoopSafetyCounter > CONSTANTS.InfiniteLoopLimit)
throw new Error(
`Infinite loop without sleep detected. ${CONSTANTS.InfiniteLoopLimit} ns functions were called without sleep. This will cause your UI to hang.`,
`Infinite loop without sleep detected. ${CONSTANTS.InfiniteLoopLimit} ns functions were called without 'sleep'. This will cause your UI to hang. Are you using 'asleep' by mistake?`,
);
return func(ctx)(...args);
}