[3.0] Fix WeakHandleBase::Reset() 76/87576/1
authorXiangyin Ma <x1.ma@samsung.com>
Tue, 6 Sep 2016 14:41:54 +0000 (15:41 +0100)
committerXiangyin Ma <x1.ma@samsung.com>
Thu, 8 Sep 2016 14:50:20 +0000 (07:50 -0700)
commit1fb1e0d143de0d345183c5d61f84c58abd36c01b
tree39d5add88642490f35a58667fc4b37620c8501cd
parent5c4c4a7d120ee7259887a90f864a05ae2bd6a829
[3.0] Fix WeakHandleBase::Reset()

If Reset() is called somewhere, there is no way to check whether this WeakHandle is still valid. Attempts of calling GetBaseHandle() or operator ==, != will crash.

Change-Id: I161af6539f2a9ab971a55f0e1280ed890cd98715
automated-tests/src/dali/utc-Dali-WeakHandle.cpp
dali/devel-api/object/weak-handle.cpp