Skip to content

Commit

Permalink
Check before Close in InternalClose #/1310
Browse files Browse the repository at this point in the history
  • Loading branch information
Dirkster99 committed Jul 19, 2018
1 parent b567265 commit ca7b02b
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,13 @@ protected virtual IntPtr FilterMessage( IntPtr hwnd, int msg, IntPtr wParam, Int

internal void InternalClose()
{
// Check before Close in InternalClose
// https://github.com/xceedsoftware/wpftoolkit/issues/1310
if( _internalCloseFlag )
{
return;
}

_internalCloseFlag = true;
Close();
}
Expand Down

0 comments on commit ca7b02b

Please sign in to comment.