aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Modules/Tango.PPC.Browser
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2020-02-10 13:33:02 +0200
committerRoy Ben-Shabat <Roy@Twine-s.com>2020-02-10 13:33:02 +0200
commit35cef16ffc96b06f68f122361ea84030169bb730 (patch)
tree1cd239e14c8ab6733ac7225e4b39bdd282c83a9f /Software/Visual_Studio/PPC/Modules/Tango.PPC.Browser
parent1ae720e9052b2419200c113ad1fa42550382e6c7 (diff)
downloadTango-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.cs17
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)