diff options
Diffstat (limited to 'emulator')
-rw-r--r-- | emulator/opengl/host/libs/libOpenglRender/RenderServer.cpp | 9 | ||||
-rw-r--r-- | emulator/opengl/host/libs/libOpenglRender/RenderServer.h | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/emulator/opengl/host/libs/libOpenglRender/RenderServer.cpp b/emulator/opengl/host/libs/libOpenglRender/RenderServer.cpp index 78f305c..938a96b 100644 --- a/emulator/opengl/host/libs/libOpenglRender/RenderServer.cpp +++ b/emulator/opengl/host/libs/libOpenglRender/RenderServer.cpp @@ -32,6 +32,12 @@ RenderServer::RenderServer() : { } +RenderServer::~RenderServer() +{ + delete m_listenSock; +} + + extern "C" int gRendererStreamMode; RenderServer *RenderServer::create(int port) @@ -78,7 +84,8 @@ int RenderServer::Main() continue; } - DBG("\n\n\n\n Got new stream!!!! \n\n\n\n\n"); + DBG("RenderServer: Got new stream!\n"); + // check if we have been requested to exit while waiting on accept if ((clientFlags & IOSTREAM_CLIENT_EXIT_SERVER) != 0) { m_exiting = true; diff --git a/emulator/opengl/host/libs/libOpenglRender/RenderServer.h b/emulator/opengl/host/libs/libOpenglRender/RenderServer.h index 98e9890..c1f0a08 100644 --- a/emulator/opengl/host/libs/libOpenglRender/RenderServer.h +++ b/emulator/opengl/host/libs/libOpenglRender/RenderServer.h @@ -23,6 +23,8 @@ class RenderServer : public osUtils::Thread { public: static RenderServer *create(int port); + virtual ~RenderServer(); + virtual int Main(); bool isExiting() const { return m_exiting; } |