diff options
-rw-r--r-- | include/crow/http_server.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/crow/http_server.h b/include/crow/http_server.h index a247b12..7e4da56 100644 --- a/include/crow/http_server.h +++ b/include/crow/http_server.h @@ -200,6 +200,10 @@ namespace crow p->start(); }); } + else + { + delete p; + } do_accept(); }); } |