diff options
Diffstat (limited to 'src/uscxml')
-rw-r--r-- | src/uscxml/server/HTTPServer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/uscxml/server/HTTPServer.cpp b/src/uscxml/server/HTTPServer.cpp index 29dd9a6..22267dd 100644 --- a/src/uscxml/server/HTTPServer.cpp +++ b/src/uscxml/server/HTTPServer.cpp @@ -737,8 +737,8 @@ void HTTPServer::run(void* instance) { HTTPServer* INSTANCE = (HTTPServer*)instance; while(INSTANCE->_isRunning) { // getting this to be non-polling is somewhat tricky and changes among versions - event_base_loop(INSTANCE->_base, EVLOOP_ONCE | EVLOOP_NO_EXIT_ON_EMPTY); -// event_base_dispatch(INSTANCE->_base); +// event_base_loop(INSTANCE->_base, EVLOOP_ONCE | EVLOOP_NO_EXIT_ON_EMPTY); + event_base_dispatch(INSTANCE->_base); } LOGD(USCXML_INFO) << "HTTP Server stopped" << std::endl; } |