Skip to content

Commit 2bd1fed

Browse files
committed
Merge branch 'development' of https://git01.codeplex.com/forks/leonidcsit/379 into fix_379
2 parents 2e3e69c + 12276a6 commit 2bd1fed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Release/include/pplx/pplxtasks.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2000,6 +2000,8 @@ namespace details
20002000
// This exception could only have come from within the chore body. It should've been caught
20012001
// and the task should be canceled with exception. Swallow the exception here.
20022002
_ASSERTE(_HasUserException());
2003+
if (!_HasUserException())
2004+
_CancelWithException(std::current_exception());
20032005
}
20042006
}
20052007

0 commit comments

Comments
 (0)