Skip to content

Commit

Permalink
Fixed assert
Browse files Browse the repository at this point in the history
  • Loading branch information
pmconrad committed Sep 17, 2019
1 parent 0922a16 commit f4179b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/thread/thread_d.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ namespace fc {
print_stacktrace( stacktrace );
elog( "Thread ${name} yielded in exception handler!\n${trace}",
("name",thread::current().name())("trace",stacktrace.str()) );
assert( std::current_exception() != std::exception_ptr() );
assert( std::current_exception() == std::exception_ptr() );
}

check_for_timeouts();
Expand Down

0 comments on commit f4179b4

Please sign in to comment.