Create another native handle to make sure Registry.Unregister works fine.
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)
commite65bca40ed0d142f0b6ed7a4685badcf59483e53
tree49b6a1c17d283a27eaf7b297bbf0ef72fd4df789
parentb72d01599d5ea76b2c44322b430950cf0b459898
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
src/Tizen.NUI/src/public/BaseHandle.cs