Skip to content

Commit 7b0061e

Browse files
jpsamarooJamesWrigley
authored andcommitted
dagdebug: Always yield to avoid heisenbugs
1 parent 04107c9 commit 7b0061e

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
@@ -32,6 +32,10 @@ macro dagdebug(thunk, category, msg, args...)
3232
$debug_ex_noid
3333
end
3434
end
35+
36+
# Always yield to reduce differing behavior for debug vs. non-debug
37+
# TODO: Remove this eventually
38+
yield()
3539
end
3640
end)
3741
end

0 commit comments

Comments
 (0)