summaryrefslogtreecommitdiff
path: root/lib/input_handlers.cpp
diff options
context:
space:
mode:
authorJosh Blum2013-03-27 03:57:15 -0500
committerJosh Blum2013-03-27 03:57:15 -0500
commit479f626bd049b3237a4249ba95da788abc8de36e (patch)
tree7fe6a02f514c2876c04a40cb93c8c20159c6a03a /lib/input_handlers.cpp
parent66d14812e6deaedf151cdb619797f00b057a28c0 (diff)
downloadsandhi-479f626bd049b3237a4249ba95da788abc8de36e.tar.gz
sandhi-479f626bd049b3237a4249ba95da788abc8de36e.tar.bz2
sandhi-479f626bd049b3237a4249ba95da788abc8de36e.zip
gras: also release all tags and msgs on block stop
Diffstat (limited to 'lib/input_handlers.cpp')
-rw-r--r--lib/input_handlers.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/input_handlers.cpp b/lib/input_handlers.cpp
index e3b5203..27704fe 100644
--- a/lib/input_handlers.cpp
+++ b/lib/input_handlers.cpp
@@ -12,6 +12,7 @@ void BlockActor::handle_input_tag(const InputTagMessage &message, const Theron::
const size_t index = message.index;
//handle incoming stream tag, push into the tag storage
+ if (this->block_state == BLOCK_STATE_DONE) return;
this->input_tags[index].push_back(message.tag);
this->input_tags_changed[index] = true;
}