[NUI] Dispose queue incrementally
authorEunki Hong <eunkiki.hong@samsung.com>
Wed, 6 Dec 2023 16:12:33 +0000 (01:12 +0900)
committerbshsqa <32317749+bshsqa@users.noreply.github.com>
Mon, 11 Dec 2023 06:49:58 +0000 (15:49 +0900)
commitae11e1d145a03adc4da828f40c48eb8f2a925bea
tree783dcace5da5a00cfbacc3f206d589886e7260d6
parent550c8633be9271e4d7439c953f2b38d57d300b94
[NUI] Dispose queue incrementally

Let we dispose IDisposable incrementally, not immediately.

It will reduce the main thread blocking during Dispose by GC.

To make the behavior didn't changed as before, let we make
FullGC as defalt. And turn on incremental GC feature if someone need.

Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
src/Tizen.NUI/src/internal/Application/Application.cs
src/Tizen.NUI/src/internal/Common/DisposeQueue.cs
src/Tizen.NUI/src/internal/Common/ProcessorController.cs
src/Tizen.NUI/src/internal/Interop/Interop.ProcessorController.cs