Skip to content

Commit 52deadf

Browse files
committed
Fix channels test that did not wait for child context to finish
1 parent 7f37af0 commit 52deadf

File tree

1 file changed

+1
-0
lines changed
  • com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/channels/R

1 file changed

+1
-0
lines changed

com.oracle.truffle.r.test/src/com/oracle/truffle/r/test/channels/R/sharing4.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ if (any(R.version$engine == "FastR")) {
3535
.fastr.channel.send(ch1, 24)
3636
y <- .fastr.channel.receive(ch1)
3737
z <- .fastr.channel.receive(ch1)
38+
.fastr.context.join(cx)
3839

3940
.fastr.channel.close(ch1)
4041
print(sort(c(y, z)))

0 commit comments

Comments
 (0)