Skip to content

Commit 2d75603

Browse files
committed
dagdebug: Always yield to avoid heisenbugs
1 parent 3638866 commit 2d75603

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/utils/dagdebug.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ macro dagdebug(thunk, category, msg, args...)
3131
$debug_ex_noid
3232
end
3333
end
34+
35+
# Always yield to reduce differing behavior for debug vs. non-debug
36+
# TODO: Remove this eventually
37+
yield()
3438
end
3539
end)
3640
end

0 commit comments

Comments
 (0)