[NUI] Consider WeakReference resurrection at Registry.
authorEunki Hong <eunkiki.hong@samsung.com>
Sun, 8 Oct 2023 07:22:56 +0000 (16:22 +0900)
committerEunki Hong <h.pichulia@gmail.com>
Wed, 25 Oct 2023 12:48:44 +0000 (21:48 +0900)
commit9ac9e937152dfcb5015106fa5f703d25fa3ffe5a
tree9dc70f626e2a64683442c92ee132e62335553f1f
parent8a97b53e908d50ad9be7a765dcddbf28c531e0d3
[NUI] Consider WeakReference resurrection at Registry.

Since NUI use DisposeQueue system instead of GC directly,
the lifecycle of WeakReference may need to be alive more times.

If we make trackResurrection as false, WeakReference.Target
become null when the item is in DisposeQueue.

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