Skip to content

Commit

Permalink
name the signal in push! inside push! test to prevent gc
Browse files Browse the repository at this point in the history
  • Loading branch information
shashi committed May 24, 2016
1 parent 6621ef3 commit d7a2bd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/basics.jl
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ facts("Basic checks") do
context("push! inside push!") do
a = Signal(0)
b = Signal(1)
map(x -> push!(a, x), b)
Reactive.preserve(map(x -> push!(a, x), b))

@fact value(a) --> 0

Expand Down

0 comments on commit d7a2bd3

Please sign in to comment.