File tree Expand file tree Collapse file tree
source/FFImageLoading.Windows/Cache Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ public static async Task<StorageFile> GetFileAsync(string path)
4141 var filePath = System . IO . Path . GetDirectoryName ( path ) ;
4242 if ( ! string . IsNullOrWhiteSpace ( filePath ) && ! ( filePath . TrimStart ( '\\ ' , '/' ) ) . StartsWith ( "Assets" ) )
4343 {
44- file = await StorageFile . GetFileFromPathAsync ( path ) . ConfigureAwait ( false ) ;
44+ file = await StorageFile . GetFileFromPathAsync ( path ) ;
4545 }
4646 }
4747 catch ( Exception )
Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ protected virtual async Task CleanCallback()
129129 {
130130 Logger . Debug ( string . Format ( "SimpleDiskCache: Removing expired file {0}" , oldCacheEntry . FileName ) ) ;
131131 var file = await cacheFolder . GetFileAsync ( oldCacheEntry . FileName ) ;
132- await file . DeleteAsync ( ) . ConfigureAwait ( false ) ;
132+ await file . DeleteAsync ( ) ;
133133 }
134134 catch
135135 {
@@ -281,7 +281,7 @@ public virtual async Task RemoveAsync(string key)
281281 try
282282 {
283283 var file = await cacheFolder . GetFileAsync ( oldCacheEntry . FileName ) ;
284- await file . DeleteAsync ( ) . ConfigureAwait ( false ) ;
284+ await file . DeleteAsync ( ) ;
285285 }
286286 catch
287287 {
@@ -310,7 +310,7 @@ public virtual async Task ClearAsync()
310310 {
311311 try
312312 {
313- await item . DeleteAsync ( ) . ConfigureAwait ( false ) ;
313+ await item . DeleteAsync ( ) ;
314314 }
315315 catch ( FileNotFoundException )
316316 {
You can’t perform that action at this time.
0 commit comments