From cce5d6e0b4c4698840c1960b03784625a40678ff Mon Sep 17 00:00:00 2001 From: ClemensF Date: Thu, 21 Dec 2017 20:17:29 +0100 Subject: [PATCH] Removed Task.Run --- MapControl/UWP/ImageLoader.UWP.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MapControl/UWP/ImageLoader.UWP.cs b/MapControl/UWP/ImageLoader.UWP.cs index 053fcd98..c261fc3e 100644 --- a/MapControl/UWP/ImageLoader.UWP.cs +++ b/MapControl/UWP/ImageLoader.UWP.cs @@ -41,7 +41,7 @@ namespace MapControl { var path = uri.IsAbsoluteUri ? uri.LocalPath : uri.OriginalString; - if (!await Task.Run(() => File.Exists(path))) + if (!File.Exists(path)) { return null; }