[NUI] Remove version check, temporary workaround for VK app crash issue (#565)
authordongsug-song <35130733+dongsug-song@users.noreply.github.com>
Wed, 21 Nov 2018 03:18:26 +0000 (12:18 +0900)
committerGitHub <noreply@github.com>
Wed, 21 Nov 2018 03:18:26 +0000 (12:18 +0900)
src/Tizen.NUI/src/internal/Application.cs
src/Tizen.NUI/src/internal/NUICoreBackend.cs

index b9aa6a7..77085bc 100755 (executable)
@@ -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();
 
index c9ea92a..a3a4a86 100755 (executable)
@@ -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();
+            }
+
         }
 
         /// <summary>