[NUI] Resolve the potential issue when DisposeQueued handle get
authorEunki, Hong <eunkiki.hong@samsung.com>
Wed, 21 Feb 2024 07:33:43 +0000 (16:33 +0900)
committerSangHyeon Jade Lee <dltkdgus1764@gmail.com>
Wed, 20 Mar 2024 11:19:40 +0000 (20:19 +0900)
commitfc53fed6107dc7961434d6303c538f0b6ab88fab
tree79486df33ed86d2aafca21b582325034236a5972
parente1409963624db8ebe2fa1f4015cfdabc2f453bf8
[NUI] Resolve the potential issue when DisposeQueued handle get

It is possible that DisposeQueued handle be used as input of GetManagedBaseHandleFromRefObject.

In this case, even if app hold that BaseHandle, it will be Disposed by DisposeQueue.
If then the returned item become disposed, and it might breakdown app logics.

Signed-off-by: Eunki, Hong <eunkiki.hong@samsung.com>
src/Tizen.NUI/src/internal/Common/Registry.cs