Skip to content

Commit

Permalink
fixed #481
Browse files Browse the repository at this point in the history
  • Loading branch information
NaBian committed Sep 25, 2020
1 parent b30c6ff commit 351bde3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Shared/HandyControl_Shared/Controls/Image/ImageViewer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,8 @@ private void Init()

private void Dispatcher_Tick(object sender, EventArgs e)
{
if (_dispatcher == null) return;

if (ImageSource == null || !IsLoaded)
{
_dispatcher.Stop();
Expand Down

0 comments on commit 351bde3

Please sign in to comment.