nghttpx: Fix crash on SIGHUP with multi thread configuration
This commit is contained in:
parent
5f31c09410
commit
4a06f9684f
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue