projects
/
platform
/
core
/
csapi
/
tizenfx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46a80b1
)
[NUI] Registry is not required at GetTouchFromPtr()
author
joogab.yun
<joogab.yun@samsung.com>
Thu, 3 Aug 2023 04:12:42 +0000
(13:12 +0900)
committer
Eunki Hong
<h.pichulia@gmail.com>
Wed, 9 Aug 2023 07:58:31 +0000
(16:58 +0900)
In the case of an object created from DALi, it is created with new BaseHandle(intPtr, false).
src/Tizen.NUI/src/public/Events/Touch.cs
patch
|
blob
|
history
diff --git
a/src/Tizen.NUI/src/public/Events/Touch.cs
b/src/Tizen.NUI/src/public/Events/Touch.cs
index
27955ba
..
cc0111e
100755
(executable)
--- a/
src/Tizen.NUI/src/public/Events/Touch.cs
+++ b/
src/Tizen.NUI/src/public/Events/Touch.cs
@@
-239,12
+239,7
@@
namespace Tizen.NUI
internal static Touch GetTouchFromPtr(global::System.IntPtr cPtr)
{
- Touch ret = Registry.GetManagedBaseHandleFromNativePtr(cPtr) as Touch;
- if (ret == null)
- {
- ret = new Touch(cPtr, false);
- }
-
+ Touch ret = new Touch(cPtr, false);
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
return ret;
}