Skip to content

Commit 351bde3

Browse files
committed
fixed HandyOrg#481
1 parent b30c6ff commit 351bde3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/Shared/HandyControl_Shared/Controls/Image/ImageViewer.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,8 @@ private void Init()
512512

513513
private void Dispatcher_Tick(object sender, EventArgs e)
514514
{
515+
if (_dispatcher == null) return;
516+
515517
if (ImageSource == null || !IsLoaded)
516518
{
517519
_dispatcher.Stop();

0 commit comments

Comments
 (0)