Since the termination sequence was unified using context session,
the variable is_on_terminate_called hasn't been used.
Bug: http://suprem.sec.samsung.net/jira/browse/TWF-2769
Change-Id: Ie30e501d1c9ed1934c9cea560922c69efe79b810
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
namespace runtime {
-bool Runtime::is_on_terminate_called = false;
-
Runtime::~Runtime() {
}
virtual int Exec(int argc, char* argv[]) = 0;
- static bool is_on_terminate_called;
static std::unique_ptr<Runtime> MakeRuntime(
common::ApplicationData* app_data);
LOGGER(DEBUG);
auto it = view_stack_.begin();
if (it != view_stack_.end()) {
- runtime::Runtime::is_on_terminate_called = true;
for (; it != view_stack_.end(); ++it) {
(*it)->ReplyToJavascriptDialog();
view_stack_.front()->SetVisibility(false);