Prevent duplicated call of |Terminate| 84/110584/6
authorYoungsoo Choi <kenshin.choi@samsung.com>
Mon, 16 Jan 2017 03:51:12 +0000 (12:51 +0900)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Wed, 18 Jan 2017 04:52:41 +0000 (13:52 +0900)
commit90e768451af2f3542b90e45743d169a2a3974cde
treed044ecab4f449d6871fb8dda149ef1f2aed6a20e
parentef77d1d5e4c12b9a657da10cb4decb0b7d96349c
Prevent duplicated call of |Terminate|

There will be duplicated call of |Terminate| in following case.
When pressing back key multiple times,
h/w key events emit multiple |Terminate| as they are pressed.
The |Terminate| needs to be processed once.

Bug: http://suprem.sec.samsung.net/jira/browse/TWF-2801

Change-Id: I16745993d60df78c04e354352066a7db7181e303
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
runtime/browser/web_application.cc
runtime/browser/web_application.h