diff --git a/src/shrpx_connection_handler.cc b/src/shrpx_connection_handler.cc index 307b3c9c..03de0911 100644 --- a/src/shrpx_connection_handler.cc +++ b/src/shrpx_connection_handler.cc @@ -352,7 +352,7 @@ void ConnectionHandler::graceful_shutdown_worker() { (void)reopen_log_files(); join_worker(); ev_async_send(get_loop(), &thread_join_asyncev_); - delete log_config(); + delete_log_config(); }); #endif // NOTHREADS } diff --git a/src/shrpx_worker.cc b/src/shrpx_worker.cc index 84b604ab..8b1a74fd 100644 --- a/src/shrpx_worker.cc +++ b/src/shrpx_worker.cc @@ -313,7 +313,7 @@ void Worker::run_async() { fut_ = std::async(std::launch::async, [this] { (void)reopen_log_files(); ev_run(loop_); - delete log_config(); + delete_log_config(); }); #endif // !NOTHREADS }