Example #1
0
 public TaskToPromiseHandler(IWebView webView)
 {
     _JavascriptObject = webView.Factory.CreateObject();
     _JavascriptObject.BindArgument("fulfill", webView, _ =>
     {
         _Tcs.TrySetResult(null);
         _JavascriptObject.Dispose();
     });
 }
        public void Dispose()
        {
            if (_Listener == null)
            {
                return;
            }

            _Listener.Dispose();
            _Listener = null;
        }
 public void Dispose()
 {
     _IWebView.Run(() =>
     {
         if (_Listener != null)
         {
             _Listener.Dispose();
             _Listener = null;
         }
     });
 }
Example #4
0
 public void Dispose()
 {
     _CommandPrototype.Dispose();
     _ExecutablePrototype.Dispose();
 }
Example #5
0
 public void Dispose()
 {
     _Listener.Dispose();
 }
Example #6
0
 public void Dispose()
 {
     _VmManager.Dispose();
     _Listener.Dispose();
     _logger.Debug("HTMLViewContext Disposed");
 }