public void DisposalPrepare() { if (_terminalBridge != null) { _terminalBridge.DisposalPrepare(); _terminalBridge = null; } _optionsChanged.Stop(); _sizeChanged.Stop(); _unblockOutput.Stop(); ViewModel = null; }
private void _webView_NavigationStarting(WebView sender, WebViewNavigationStartingEventArgs args) { _terminalBridge = new TerminalBridge(this); _webView.AddWebAllowedObject("terminalBridge", _terminalBridge); }