From e781bb92843ffb71867669133a1b83581f4fe6fd Mon Sep 17 00:00:00 2001 From: dongsug-song <35130733+dongsug-song@users.noreply.github.com> Date: Wed, 21 Nov 2018 12:18:26 +0900 Subject: [PATCH] [NUI] Remove version check, temporary workaround for VK app crash issue (#565) --- src/Tizen.NUI/src/internal/Application.cs | 5 ----- src/Tizen.NUI/src/internal/NUICoreBackend.cs | 8 +++++++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/Tizen.NUI/src/internal/Application.cs b/src/Tizen.NUI/src/internal/Application.cs index b9aa6a7..77085bc 100755 --- a/src/Tizen.NUI/src/internal/Application.cs +++ b/src/Tizen.NUI/src/internal/Application.cs @@ -947,11 +947,6 @@ namespace Tizen.NUI // Callback for Application InitSignal private void OnApplicationInit(IntPtr data) { - if (Version.DaliVersionMatchWithNUI() == false) - { - Tizen.Log.Fatal("NUI", "Dali and NUI are version mismatched!"); - } - // Initialize DisposeQueue Singleton class. This is also required to create DisposeQueue on main thread. DisposeQueue.Instance.Initialize(); diff --git a/src/Tizen.NUI/src/internal/NUICoreBackend.cs b/src/Tizen.NUI/src/internal/NUICoreBackend.cs index c9ea92a..a3a4a86 100755 --- a/src/Tizen.NUI/src/internal/NUICoreBackend.cs +++ b/src/Tizen.NUI/src/internal/NUICoreBackend.cs @@ -147,7 +147,13 @@ namespace Tizen.NUI _application.AppControl += OnAppControl; _application.MainLoop(); - _application.Dispose(); + + if(Graphics.Backend == Graphics.BackendType.Gles) + { + //Temporary fix. VK backend make crash. this will be removed after VK memory issue is resolved. + _application.Dispose(); + } + } /// -- 2.7.4