diff --git a/examples/term_ds.cc b/examples/term_ds.cc index 067b9ba849..bc78e85a3d 100644 --- a/examples/term_ds.cc +++ b/examples/term_ds.cc @@ -104,6 +104,7 @@ int main(int argc, char** argv) { auto msg = makeSharedMessage(); envelopeSetEpoch(msg->env, cur_epoch); theMsg()->sendMsg((my_node + 1) % num_nodes,msg); + theTerm()->finishedEpoch(cur_epoch); } while (!rt->isTerminated()) {