From: Vadim Zeitlin Date: Mon, 14 Jul 2008 15:12:58 +0000 (+0000) Subject: PCH-less build fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4c141c5a96081ec204e957d639c95223baf43378 PCH-less build fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/tests/net/ipc.cpp b/tests/net/ipc.cpp index 5ca82bd3e4..1ac9167f75 100644 --- a/tests/net/ipc.cpp +++ b/tests/net/ipc.cpp @@ -15,13 +15,14 @@ #pragma hdrstop #endif +// this test needs threads as it runs the test server in a secondary thread +#if wxUSE_THREADS + // for all others, include the necessary headers #ifndef WX_PRECOMP + #include "wx/app.h" #endif -// this test needs threads as it runs the test server in a secondary thread -#if wxUSE_THREADS - #include "wx/ipc.h" #include "wx/thread.h" @@ -105,7 +106,8 @@ public: m_thread->Wait(); delete m_thread; - m_thread = NULL; + + delete m_conn; wxSocketBase::Shutdown(); }