model: do not assume THREAD_FINISH is always the last action
authorBrian Norris <banorris@uci.edu>
Wed, 3 Oct 2012 22:36:26 +0000 (15:36 -0700)
committerBrian Norris <banorris@uci.edu>
Wed, 3 Oct 2012 22:36:26 +0000 (15:36 -0700)
commitcf4cc8a444d3c85367b9aa15b91b2829220e2edf
tree968579bcb3b60b5c2cfa89892aa15de91a86d929
parent7f6f38735411f44357208a952278a419454b52b2
model: do not assume THREAD_FINISH is always the last action

It's possible that there will be special fixup ModelActions added, so
just use the Thread::is_complete() method to check for a completed
Thread.
model.cc