summaryrefslogtreecommitdiffstats
path: root/examples/mandelbrot.jl
diff options
context:
space:
mode:
Diffstat (limited to 'examples/mandelbrot.jl')
-rw-r--r--examples/mandelbrot.jl16
1 files changed, 0 insertions, 16 deletions
diff --git a/examples/mandelbrot.jl b/examples/mandelbrot.jl
index 2b9d26d..9bcc818 100644
--- a/examples/mandelbrot.jl
+++ b/examples/mandelbrot.jl
@@ -9,19 +9,3 @@ imgsize = (640, 480)
imgc, imgslice = view([ HSV(0, 0, 0) for y=1:imgsize[2], x=1:imgsize[1] ])
mandelbrot(imgc, iterations)
-
-#If we are not in a REPL
-if (!isinteractive())
-
- # Create a condition object
- cv = Condition()
-
- # Get the main window (A Tk toplevel object)
- win = toplevel(imgc)
-
- # Notify the condition object when the window closes
- bind(win, "<Destroy>", e->notify(cv))
-
- # Wait for the notification before proceeding ...
- wait(cv)
-end