Update src/Tizen.NUI/src/public/Window/WindowEvent.cs
authordongsug-song <35130733+dongsug-song@users.noreply.github.com>
Wed, 19 Apr 2023 02:18:42 +0000 (11:18 +0900)
committerdongsug-song <35130733+dongsug-song@users.noreply.github.com>
Wed, 19 Apr 2023 02:27:12 +0000 (11:27 +0900)
Co-authored-by: Eunki Hong <h.pichulia@gmail.com>
src/Tizen.NUI/src/public/Window/WindowEvent.cs

index fcb5eae..c5621ac 100755 (executable)
@@ -1294,7 +1294,7 @@ namespace Tizen.NUI
                 // where the sub window is disabled and the View RemovedFromWindow event occurs.
                 // The problem seems to have occurred because the native window object itself is invalid 
                 // when trying to obtain the window native signal because the sub window is in the Dispose state.
-                if (disposed)
+                if (Disposed)
                 {
                     Tizen.Log.Error("NUI", "[ERR] This Window object has already been destroyed, but VisibilityChanged event is added or removed!");
                     return;