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; } }); }
public void Dispose() { _CommandPrototype.Dispose(); _ExecutablePrototype.Dispose(); }
public void Dispose() { _Listener.Dispose(); }
public void Dispose() { _VmManager.Dispose(); _Listener.Dispose(); _logger.Debug("HTMLViewContext Disposed"); }