From: j-h.choi Date: Wed, 9 Sep 2020 08:15:11 +0000 (+0900) Subject: Modified to check the exists of the preload directory X-Git-Tag: submit/tizen/20200915.041858~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0da4d3033fb9b7ee1a7c092202ab2b10f62887d4;p=platform%2Fcore%2Fdotnet%2Flauncher.git Modified to check the exists of the preload directory Change-Id: I76bf379c055b807642d6ec824dec502830a0ab73 --- diff --git a/Managed/Tizen.Runtime/Preloader.cs b/Managed/Tizen.Runtime/Preloader.cs index 63a4a76..814d15c 100644 --- a/Managed/Tizen.Runtime/Preloader.cs +++ b/Managed/Tizen.Runtime/Preloader.cs @@ -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)