From d7a2bd36ead56cf1e0bdad6b04af9e6a1803860b Mon Sep 17 00:00:00 2001 From: Shashi Gowda Date: Tue, 24 May 2016 23:11:28 +0530 Subject: [PATCH] name the signal in push! inside push! test to prevent gc --- test/basics.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/basics.jl b/test/basics.jl index 5a4bf61..f90a7ee 100644 --- a/test/basics.jl +++ b/test/basics.jl @@ -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