MsieJavaScriptEngine.JsRt.Ie.IeJsRuntime.CollectGarbage C# (CSharp) Method

CollectGarbage() public method

Performs a full garbage collection
public CollectGarbage ( ) : void
return void
        public void CollectGarbage()
        {
            IeJsErrorHelpers.ThrowIfError(IeNativeMethods.JsCollectGarbage(this));
        }

Usage Example

Example #1
0
 public override void CollectGarbage()
 {
     _dispatcher.Invoke(() => _jsRuntime.CollectGarbage());
 }