Fix crash issue when restarting widgetApp 77/312077/1 accepted/tizen/8.0/unified/20240612.161841 accepted/tizen/8.0/unified/20240704.174830
authorsunghyun kim <scholb.kim@samsung.com>
Fri, 26 Jan 2024 06:42:13 +0000 (15:42 +0900)
committersunghyun kim <scholb.kim@samsung.com>
Tue, 4 Jun 2024 04:37:15 +0000 (13:37 +0900)
commitcf604daf0ac9e2898809db0ae7970e72697fd957
tree61af502b3aedaf393e1a0028559bcc10c8a8148f
parentf323aa9503c525248bb32c9540ee6ef8becec66d
Fix crash issue when restarting widgetApp

In the existing code, the remote surface was cleared here.
However, in general, WIDGET_INSTANCE_EVENT_FAULT is called later, so we can clear it at that time.

Currently, if we clear in advance at this point, a crash may occur in the process of restarting the widget.
(It seems that the malloc issue occurs in the process of replacing the existing callback)

Therefore, to avoid this crash, delete the part that was cleared at this point.

Change-Id: I4f54546a36295ae26382a39bb13913153b32cf69
widget_viewer_dali/internal/widget_view/widget_view_impl.cpp
widget_viewer_dali/internal/widget_view/widget_view_impl.h