diff options
Diffstat (limited to 'src/HttpServer.cc')
-rw-r--r-- | src/HttpServer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HttpServer.cc b/src/HttpServer.cc index 608b8a8..b027824 100644 --- a/src/HttpServer.cc +++ b/src/HttpServer.cc @@ -354,7 +354,7 @@ typedef Balau::Listener<Balau::HttpWorker> HttpListener; void Balau::HttpServer::start() { Assert(!m_started); - m_listenerPtr = new HttpListener(m_port, m_local.to_charp()); + m_listenerPtr = createTask(new HttpListener(m_port, m_local.to_charp())); m_started = true; } |