Skip to content

Commit

Permalink
Fix for Reactive v0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
timholy committed Jun 14, 2018
1 parent 61397c4 commit 038e563
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ using GtkReactive, Gtk.ShortNames, IntervalSets, Graphics, Colors,
TestImages, FileIO, FixedPointNumbers, RoundingIntegers
using Base.Test

if !istaskdone(Reactive.runner_task)
rtask = Reactive.runner_task # starting with Reactive 0.7.0, this became a Ref
if isa(rtask, Base.RefValue)
rtask = rtask[]
end
if !istaskdone(rtask)
Reactive.stop()
wait(Reactive.runner_task)
wait(rtask)
end

include("tools.jl")
Expand Down

0 comments on commit 038e563

Please sign in to comment.