From 6fed38c7b1903f3e3e6fbed5dc257fbde1d99052 Mon Sep 17 00:00:00 2001 From: "prathmesh.m" Date: Thu, 16 Aug 2018 18:21:49 +0530 Subject: [PATCH] Send terminate event to engine - Pass the onTerminate to engine Change-Id: Ic62b385182fc65e5fd54ae7ca1ec227565e9e16b Signed-off-by: prathmesh.m --- atom/app/ui_runtime.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/atom/app/ui_runtime.cc b/atom/app/ui_runtime.cc index 186b765..7f76282 100644 --- a/atom/app/ui_runtime.cc +++ b/atom/app/ui_runtime.cc @@ -45,6 +45,7 @@ bool UiRuntime::OnCreate() { void UiRuntime::OnTerminate() { LOG(INFO) << "OnTerminate()"; + atom::Browser::Get()->Quit(); } void UiRuntime::OnPause() { -- 2.7.4