[NUI] Check if event handler of the DisposedQueued object is valid
authordongsug.song <dongsug.song@samsung.com>
Sat, 13 Nov 2021 06:43:01 +0000 (15:43 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Mon, 15 Nov 2021 03:19:19 +0000 (12:19 +0900)
commit382c770775920720f0d6b9ce46b5f7f9e94930c1
treecfb1aaf4f6fedf5f4ac266cfd13dc8dac8376bae
parentd7df2a33808c3fe9d46ef2308d72ba069b2e9026
[NUI] Check if event handler of the DisposedQueued object is valid

- The objects that are waiting in disposeQueue are not yet signal disconnected, and their states are implict disposed.
- When dali callback comes and the obeject is in the queue, it seems that the problem will occur.
- User event callback checks IsDisposeQueued before Invoked, and if Dispose == False, IsDisposeQueued == true, then event callback is not invoked.
- when Dispose == True, User callback != NULL, throw exception.
src/Tizen.NUI/src/internal/Common/KeyInputFocusSignal.cs
src/Tizen.NUI/src/internal/Interop/Interop.KeyInputFocusManager.cs
src/Tizen.NUI/src/public/BaseComponents/ViewEvent.cs
src/Tizen.NUI/src/public/BaseComponents/ViewInternal.cs
src/Tizen.NUI/src/public/Common/BaseHandle.cs