[Tizen] 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)
committerdongsug.song <dongsug.song@samsung.com>
Thu, 13 Jul 2017 17:44:14 +0000 (02:44 +0900)
commit817a69a2d5296a81fc4a61e80d9c77d265fdfbc3
treeab19d17cafffc2a229f67d76dd3f38121be789ee
parent941fd4d30c5499647b236305f514e68aa2ca177f
[Tizen] 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