diff options
author | Josh Blum | 2013-03-27 03:57:15 -0500 |
---|---|---|
committer | Josh Blum | 2013-03-27 03:57:15 -0500 |
commit | 479f626bd049b3237a4249ba95da788abc8de36e (patch) | |
tree | 7fe6a02f514c2876c04a40cb93c8c20159c6a03a /lib/input_handlers.cpp | |
parent | 66d14812e6deaedf151cdb619797f00b057a28c0 (diff) | |
download | sandhi-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.cpp | 1 |
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; } |