From 4c141c5a96081ec204e957d639c95223baf43378 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 14 Jul 2008 15:12:58 +0000 Subject: [PATCH] PCH-less build fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- tests/net/ipc.cpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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 -// for all others, include the necessary headers -#ifndef WX_PRECOMP -#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 + #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(); }