[Tizen][Web] Fix WebView terminate crash 42/283742/2
authorEunki, Hong <eunkiki.hong@samsung.com>
Tue, 1 Nov 2022 14:29:21 +0000 (23:29 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Wed, 2 Nov 2022 09:32:18 +0000 (18:32 +0900)
commitc7025658d79551ee9f28520fbe010526cb893ab9
tree6d64b48f7746c11683e2c94eac03071a30044b40
parentfeb7cad5aca422f05e4d7c53aab35343a9256c73
[Tizen][Web] Fix WebView terminate crash

Due to the web context closed before all webview released,
mPlugin and mDestroyWebEnginePtr are invalid.

This patch make reference count so we can assume that
plugin is alive

Change-Id: I15938f5b4a955bbf2fa40747939937bfe228ee3d
Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
dali/internal/web-engine/common/web-engine-impl.cpp [changed mode: 0755->0644]
dali/internal/web-engine/common/web-engine-impl.h