[M120 Migration]Fix IMContextEfl crash issue during app exit 90/307390/3
authorfangfengrong <fr.fang@samsung.com>
Fri, 8 Mar 2024 03:46:16 +0000 (11:46 +0800)
committerYanqing Lu <yanqing.lu@samsung.com>
Tue, 12 Mar 2024 01:16:06 +0000 (01:16 +0000)
commitfb4f6af991c4fa8cc044b3af4cfedecebcfd4ff2
treedc45385415b811d8a949fb4b87a4a051eec6dcc9
parenteb726a66d25f6dc35b43f22e22ab586769251c5e
[M120 Migration]Fix IMContextEfl crash issue during app exit

During App exit, the RWHVAuraCommonHelperEfl destruction before the
IMContextEfl, after RWHVAuraCommonHelperEfl destruction, the rwh_helper_
of IMContextEfl been a wild pointers, once IMContextEfl use the rwh_helper_
wild pointers, it will cause crash.

On RWHVAuraCommonHelperEfl destruction, set the rwh_helper_ of IMContextEfl
to null to avoid crash.

refer:
https://review.tizen.org/gerrit/#/c/295867

Change-Id: Ife433c18d98ff0d4b39f310fafed89d03ee410ab
Signed-off-by: fangfengrong <fr.fang@samsung.com>
tizen_src/chromium_impl/content/browser/renderer_host/rwhv_aura_common_helper_efl.cc