We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2e3e69c + 12276a6 commit 2bd1fedCopy full SHA for 2bd1fed
Release/include/pplx/pplxtasks.h
@@ -2000,6 +2000,8 @@ namespace details
2000
// This exception could only have come from within the chore body. It should've been caught
2001
// and the task should be canceled with exception. Swallow the exception here.
2002
_ASSERTE(_HasUserException());
2003
+ if (!_HasUserException())
2004
+ _CancelWithException(std::current_exception());
2005
}
2006
2007
0 commit comments