[Issue#] N/A
[Problem] Calling PropertyNotification::SetNotifyMode could cause a crash in update thread
[Cause] The message would be sent off to update scene object value even when scene object had not been created
[Solution] Prevent notify mode message from being sent
Change-Id: I36dabb991873fa1efc5fcb8b7f7bf111847cba3e
Signed-off-by: Julien Heanley <j.heanley@partner.samsung.com>
void PropertyNotification::SetNotifyMode( NotifyMode mode )
{
mNotifyMode = mode;
- PropertyNotificationSetNotifyModeMessage( mUpdateManager, mPropertyNotification, mode );
+ if( mPropertyNotification )
+ {
+ PropertyNotificationSetNotifyModeMessage( mUpdateManager, mPropertyNotification, mode );
+ }
}
PropertyNotification::NotifyMode PropertyNotification::GetNotifyMode()