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 44c794e..2e3f703 100644 --- a/src/HttpServer.cc +++ b/src/HttpServer.cc @@ -594,7 +594,7 @@ typedef Balau::Listener<Balau::HttpWorker> HttpListener; void Balau::HttpServer::start() { AAssert(!m_started, "Don't start an HttpServer twice"); - m_listenerPtr = TaskMan::createTask(new HttpListener(m_port, m_local.to_charp(), this)); + m_listenerPtr = TaskMan::registerTask(new HttpListener(m_port, m_local.to_charp(), this)); m_started = true; } |