Send terminate event to engine 48/186948/2
authorprathmesh.m <prathmesh.m@samsung.com>
Thu, 16 Aug 2018 12:51:49 +0000 (18:21 +0530)
committerjaekuk lee <juku1999@samsung.com>
Fri, 17 Aug 2018 05:16:17 +0000 (05:16 +0000)
- Pass the onTerminate to engine

Change-Id: Ic62b385182fc65e5fd54ae7ca1ec227565e9e16b
Signed-off-by: prathmesh.m <prathmesh.m@samsung.com>
atom/app/ui_runtime.cc

index 186b765..7f76282 100644 (file)
@@ -45,6 +45,7 @@ bool UiRuntime::OnCreate() {
 
 void UiRuntime::OnTerminate() {
   LOG(INFO) << "OnTerminate()";
+  atom::Browser::Get()->Quit();
 }
 
 void UiRuntime::OnPause() {