Modified to check the exists of the preload directory
authorj-h.choi <j-h.choi@samsung.com>
Wed, 9 Sep 2020 08:15:11 +0000 (17:15 +0900)
committer조웅석/Common Platform Lab(SR)/Principal Engineer/삼성전자 <ws77.cho@samsung.com>
Fri, 11 Sep 2020 07:08:13 +0000 (16:08 +0900)
Change-Id: I76bf379c055b807642d6ec824dec502830a0ab73

Managed/Tizen.Runtime/Preloader.cs

index 63a4a76..814d15c 100644 (file)
@@ -39,6 +39,9 @@ namespace Tizen.Runtime
         {
             CheckAsciiCasing();
 
+            if (!Directory.Exists(preloadPath))
+                return;
+
             string[] paths = Directory.GetFiles(preloadPath, "*.preload");
             Array.Sort(paths);
             foreach (string path in paths)