diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2020-02-10 13:33:02 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2020-02-10 13:33:02 +0200 |
| commit | 35cef16ffc96b06f68f122361ea84030169bb730 (patch) | |
| tree | 1cd239e14c8ab6733ac7225e4b39bdd282c83a9f /Software/Visual_Studio/PPC/Modules/Tango.PPC.Browser | |
| parent | 1ae720e9052b2419200c113ad1fa42550382e6c7 (diff) | |
| download | Tango-35cef16ffc96b06f68f122361ea84030169bb730.tar.gz Tango-35cef16ffc96b06f68f122361ea84030169bb730.zip | |
Some fixes on transport layer.
Fix on machine operator upgrade firmware..
Fix on SessionFileLogger.
Fix on PPC jobs view.
Fix on Tech Catalog View.
Diffstat (limited to 'Software/Visual_Studio/PPC/Modules/Tango.PPC.Browser')
| -rw-r--r-- | Software/Visual_Studio/PPC/Modules/Tango.PPC.Browser/ViewModels/BrowserViewVM.cs | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Browser/ViewModels/BrowserViewVM.cs b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Browser/ViewModels/BrowserViewVM.cs index 9650aa342..0f5a49639 100644 --- a/Software/Visual_Studio/PPC/Modules/Tango.PPC.Browser/ViewModels/BrowserViewVM.cs +++ b/Software/Visual_Studio/PPC/Modules/Tango.PPC.Browser/ViewModels/BrowserViewVM.cs @@ -1,4 +1,5 @@ -using System; +using CefSharp; +using System; using System.Collections.Generic; using System.Linq; using System.Text; @@ -95,6 +96,20 @@ namespace Tango.PPC.Browser.ViewModels } + public override void OnApplicationShuttingDown() + { + base.OnApplicationShuttingDown(); + + try + { + Cef.Shutdown(); + } + catch (Exception ex) + { + LogManager.Log(ex, "Error shutting down cef."); + } + } + private void Go() { if (View != null) |
