mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-01-09 10:10:42 +01:00
Update ImageFileCache.cs
This commit is contained in:
parent
6ea58c9dd3
commit
5e835b678c
|
|
@ -98,7 +98,7 @@ namespace MapControl.Caching
|
|||
|
||||
try
|
||||
{
|
||||
if (file != null && file.Exists && file.CreationTime > DateTime.Now)
|
||||
if (file != null && file.Exists && file.CreationTime > DateTime.Now && !token.IsCancellationRequested)
|
||||
{
|
||||
using (var stream = file.OpenRead())
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue