Skip to content

Commit 9e075f3

Browse files
committed
1. Slightly improved performance;
2. In JsRT modes the `CollectGarbage` method is called synchronously again.
1 parent 7888f4f commit 9e075f3

File tree

15 files changed

+585
-701
lines changed

15 files changed

+585
-701
lines changed
Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
using System;
22

3-
using MsieJavaScriptEngine.Utilities;
4-
53
namespace MsieJavaScriptEngine.JsRt
64
{
75
/// <summary>
@@ -14,11 +12,6 @@ internal abstract class ChakraJsRtJsEngineBase : InnerJsEngineBase
1412
/// </summary>
1513
protected JsSourceContext _jsSourceContext = JsSourceContext.FromIntPtr(IntPtr.Zero);
1614

17-
/// <summary>
18-
/// Flag indicating whether debugging started
19-
/// </summary>
20-
private StatedFlag _debuggingStartedFlag;
21-
2215
/// <summary>
2316
/// Script dispatcher
2417
/// </summary>
@@ -38,19 +31,5 @@ protected ChakraJsRtJsEngineBase(JsEngineSettings settings)
3831
_dispatcher = new ScriptDispatcher(settings.MaxStackSize);
3932
#endif
4033
}
41-
42-
43-
/// <summary>
44-
/// Starts debugging
45-
/// </summary>
46-
protected void StartDebugging()
47-
{
48-
if (_debuggingStartedFlag.Set())
49-
{
50-
InnerStartDebugging();
51-
}
52-
}
53-
54-
protected abstract void InnerStartDebugging();
5534
}
5635
}

0 commit comments

Comments
 (0)