diff options
Diffstat (limited to 'mgmt.c')
-rw-r--r-- | mgmt.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -251,11 +251,14 @@ void mog_mgmt_quit_step(struct mog_fd *mfd) switch (mgmt_queue_step(mfd)) { case MOG_NEXT_WAIT_RD: if (mgmt->forward || mgmt->rbuf) { + /* something is in progress, do not drop it */ mog_idleq_push(q, mfd, MOG_QEV_RD); return; } /* fall-through */ case MOG_NEXT_IGNORE: /* no new iostat watchers during shutdown */ + assert(mgmt->prio == MOG_PRIO_NONE && "bad prio"); + /* fall-through */ case MOG_NEXT_CLOSE: mog_nr_active_at_quit--; mgmt_close(mfd); |