Fix disconnection issue of signal 10/123910/2
authorHeeyong Song <heeyong.song@samsung.com>
Fri, 7 Apr 2017 10:53:52 +0000 (19:53 +0900)
committerHeeyong Song <heeyong.song@samsung.com>
Mon, 10 Apr 2017 01:09:15 +0000 (10:09 +0900)
commitad00d2dd7bfa2897b4841b63012e910492f7c10a
treeb868a55fa3012c55f23f33650f1c1eb077f4f113
parent4927f80c89dde2e049dbdb455dfebf259e5a191e
Fix disconnection issue of signal

The item is not removed from mSignalConnections until the sinal is emitted.
Changed to remove the item if the function is not called from Emit().

Change-Id: I0288b68dac3f601790aa16e77ab78b22e437ae44
dali/public-api/signals/base-signal.cpp