Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/nhttpd/yhttpd.cpp b/src/nhttpd/yhttpd.cpp
- index 1aa0c55..694cf53 100644
- --- a/src/nhttpd/yhttpd.cpp
- +++ b/src/nhttpd/yhttpd.cpp
- @@ -132,7 +132,7 @@ void * nhttpd_main_thread(void *) {
- return (void *) EXIT_FAILURE;
- }
- /* we pthread_cancel this thread from the main thread, but still want to clean up */
- - pthread_cleanup_push(thread_cleanup, yhttpd);
- + //pthread_cleanup_push(thread_cleanup, yhttpd);
- #ifndef Y_CONFIG_FEATURE_THREADING
- yhttpd->flag_threading_off = true;
- #endif
- @@ -146,7 +146,7 @@ void * nhttpd_main_thread(void *) {
- yhttpd->run();
- }
- - pthread_cleanup_pop(0);
- + //pthread_cleanup_pop(0);
- delete yhttpd;
- yhttpd = NULL;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement