Exemplo n.º 1
0
 internal ChakraContext(JavaScriptContext jsContext, ChakraRuntime runtime, EventWaitHandle handle) : base(runtime.ServiceNode, "ChakraContext")
 {
     jsContext.AddRef();
     this.jsContext = jsContext;
     Runtime        = runtime;
     syncHandle     = handle;
 }
Exemplo n.º 2
0
 public ContextSwitchService(JavaScriptContext context, EventWaitHandle handle)
 {
     Handle       = handle;
     this.context = context;
     context.AddRef();
 }
 public RuntimeInternalContextSwitcher(JavaScriptContext internalContext)
 {
     context = internalContext;
     context.AddRef();
 }