diff --git a/fesvr/htif.cc b/fesvr/htif.cc index 3f93f7b507..8b5eb8dc84 100644 --- a/fesvr/htif.cc +++ b/fesvr/htif.cc @@ -253,7 +253,7 @@ int htif_t::run() std::bind(enq_func, &fromhost_queue, std::placeholders::_1); if (tohost_addr == 0) { - while (true) + while (!signal_exit) idle(); }