Fix a crash issue
Fix a crash issue

OnWindowHidden and OnWindowShown can be called before mThreadController is started in NotifySceneCreated.
In this case mThreadController should not be paused or resumed.

Change-Id: I63db11085a2682fb7a0199616e5e9381b672e06f

dalihub/dali-adaptor,dalihub/dali-adaptor,dalihub/dali-adaptor,dalihub/dali-adaptor,dalihub/dali-adaptor