From 1688496f34c7d16e10a1a0331611ec0aecd4555d Mon Sep 17 00:00:00 2001 From: Dima Kogan Date: Wed, 28 May 2014 02:34:39 -0700 Subject: [PATCH] an "exit" command now has effect even with triggered-only replotting --- bin/feedgnuplot | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/feedgnuplot b/bin/feedgnuplot index 08e177b9..75dd86fd 100755 --- a/bin/feedgnuplot +++ b/bin/feedgnuplot @@ -75,6 +75,7 @@ if($options{stream}) } $streamingFinished = 1; + $dataQueue->enqueue(undef); $plotThr->join() if defined $plotThr; $addThr->join(); @@ -413,8 +414,6 @@ sub plotUpdateThread # indicate that the timer was the replot source $dataQueue->enqueue('replot timertick'); } - - $dataQueue->enqueue(undef); } sub sendRangeCommand