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:
540769a
)
[NUI] Remove RenderTask itself from the RenderTaskList when disposed
author
Jiyun Yang
<ji.yang@samsung.com>
Thu, 20 Jul 2023 07:25:53 +0000
(16:25 +0900)
committer
Eunki Hong
<h.pichulia@gmail.com>
Tue, 25 Jul 2023 08:09:22 +0000
(17:09 +0900)
Signed-off-by: Jiyun Yang <ji.yang@samsung.com>
src/Tizen.NUI/src/internal/Common/RenderTask.cs
patch
|
blob
|
history
diff --git
a/src/Tizen.NUI/src/internal/Common/RenderTask.cs
b/src/Tizen.NUI/src/internal/Common/RenderTask.cs
index 47b82238453bfaf6abb2b615394a4b571fb05316..0c126070b36038b3cb87ca343bebb12cfb7e55bd 100755
(executable)
--- a/
src/Tizen.NUI/src/internal/Common/RenderTask.cs
+++ b/
src/Tizen.NUI/src/internal/Common/RenderTask.cs
@@
-41,6
+41,21
@@
namespace Tizen.NUI
return ret;
}
+ protected override void Dispose(DisposeTypes type)
+ {
+ if (Disposed)
+ {
+ return;
+ }
+
+ foreach (var window in Application.GetWindowList())
+ {
+ window.GetRenderTaskList().RemoveTask(this);
+ }
+
+ base.Dispose(type);
+ }
+
internal class Property
{
internal static readonly int ViewportPosition = Interop.RenderTask.ViewportPositionGet();