Skip to content

Commit

Permalink
server - cleanup timers before exiting
Browse files Browse the repository at this point in the history
  • Loading branch information
boazsegev committed Nov 1, 2023
1 parent 5765842 commit 5a09ea1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions fio-stl.h
Original file line number Diff line number Diff line change
Expand Up @@ -30740,6 +30740,8 @@ FIO_SFUNC void fio___srv_cleanup_at_exit(void *ignr_) {
#endif
#endif /* FIO_VALIDATE_IO_MUTEX / FIO_VALIDITY_MAP_USE */
fio_queue_perform_all(fio___srv_tasks);
fio_timer_destroy(fio___srv_timer);
fio_queue_perform_all(fio___srv_tasks);
}

/* *****************************************************************************
Expand Down
2 changes: 2 additions & 0 deletions fio-stl/400 server.h
Original file line number Diff line number Diff line change
Expand Up @@ -2589,6 +2589,8 @@ FIO_SFUNC void fio___srv_cleanup_at_exit(void *ignr_) {
#endif
#endif /* FIO_VALIDATE_IO_MUTEX / FIO_VALIDITY_MAP_USE */
fio_queue_perform_all(fio___srv_tasks);
fio_timer_destroy(fio___srv_timer);
fio_queue_perform_all(fio___srv_tasks);
}

/* *****************************************************************************
Expand Down

0 comments on commit 5a09ea1

Please sign in to comment.