We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c353eb commit c53d5c5Copy full SHA for c53d5c5
src/JavaScriptEngineSwitcher.Jint/JintJsEngine.cs
@@ -292,7 +292,9 @@ private WrapperRuntimeException WrapRuntimeException(OriginalRuntimeException or
292
}
293
else if (originalRuntimeException is OriginalExecutionCanceledException)
294
{
295
+ _cancellationTokenSource.Dispose();
296
_cancellationTokenSource = new CancellationTokenSource();
297
+
298
_cancellationConstraint.Reset(_cancellationTokenSource.Token);
299
300
type = JsErrorType.Common;
0 commit comments