Beispiel #1
0
 public static void DisposeContextFromNativeSide(JsContext context)
 {
     if (!context.IsFromNativeContext)
     {
         throw new NotSupportedException();
     }
     context._nativeSideWasDisposed = true;
     context.Dispose();
 }