Create another native handle to make sure Registry.Unregister works fine. 58/138558/4
authorUmar <m.umar@partner.samsung.com>
Wed, 12 Jul 2017 14:43:57 +0000 (15:43 +0100)
committerUmar <m.umar@partner.samsung.com>
Tue, 18 Jul 2017 13:20:33 +0000 (14:20 +0100)
commitc72d8c9543bcdad7b152b7302e6ca779b60debb3
tree004de3b625cdc492b5127058fc0ccd98d9ec32f5
parent3f3296d9f823539c77dcfb8b7956e5ff0df5586d
Create another native handle to make sure Registry.Unregister works fine.

This is much simpler solution with less code maintenance as derived classes do not have to call Registry.Unregister(this);.
Only BaseHandle class will be responsible for Registry.Register and Registry.UnRegister which is much simpler and symmetric solution.
The only drawback is that we have to create an extra native handle.

Change-Id: I2e3ab7b3311befb25141ae0816b7d2d77a2e3485
Tizen.NUI/src/public/BaseHandle.cs