A WebProcess crash issue by confusion of widget handle after DynamicBox re-installation.
authorTae-Jeong Lee <taejeong.lee@samsung.com>
Thu, 10 Oct 2013 12:01:14 +0000 (21:01 +0900)
committerTae-Jeong Lee <taejeong.lee@samsung.com>
Thu, 10 Oct 2013 13:48:07 +0000 (22:48 +0900)
commitc044c045dbcdef368a33c0e859593c8e6f722afd
tree688375d42f505e3c06b0daac59c6f41b9976444c
parent2d1bbeea5956f78b1646c4f266eb93e88ee458cf
A WebProcess crash issue by confusion of widget handle after DynamicBox re-installation.

[Issue#]   PLM-131009-03049
[Problem]  Make a DynamicBox is located in homescreen and if try to update its package by
           re-installation, a WebProcess crash occurs.
[Cause]    When a DynamicBox is updated, web-provider re-uses WebProcess which was used by
           previous one. So then the widget handle is updated, but plugin-logic couldn't know that.
           Because wrt plugin-logic was not been considered about such reuse case.
           So, there was a problem on accessing widget handle which is internal variable of singleton.
[Solution] Fixed the wrt plugin-logic to update internal variable of singleton properly even in that case.

Change-Id: I0ecde7906b941778ee9027914d7a695aad59c036
src/Commons/WrtAccess/WrtAccess.cpp
src/plugin-loading/plugin_container_support.cpp
src/plugin-loading/plugin_container_support.h
src/plugin-loading/plugin_logic.cpp