Sync upstream
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / public / Key.cs
index cd49bb2..b85e130 100755 (executable)
@@ -344,11 +344,6 @@ namespace Tizen.NUI
             }
             get
             {
-                if (disposed)
-                {
-                    NUILog.Error("[ERR] already disposed! cannot call native method! just return!");
-                    return (Key.StateType)(-1);
-                }
                 Key.StateType ret = (Key.StateType)Interop.Key.Key_state_get(swigCPtr);
                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
                 return ret;