[Web] Fix WebView terminate crash 77/283677/9
authorEunki, Hong <eunkiki.hong@samsung.com>
Tue, 1 Nov 2022 14:29:21 +0000 (23:29 +0900)
committerEunki, Hong <eunkiki.hong@samsung.com>
Mon, 7 Nov 2022 06:24:19 +0000 (15:24 +0900)
commita15b3e79867eb099c643879dfa82192448d3143d
tree21abc179383aeb991eee6c133b424d20e27f41da
parent1c7345852b1716f22f4d10157cfd92511611583d
[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