diff --git a/src/xpdev/clx/MainUnit.cpp b/src/xpdev/clx/MainUnit.cpp
index 86a3982c0f506c3789cc682a9c7755811fed8237..6e7beb2f67725edda563af69bec61f60bf2cec3e 100644
--- a/src/xpdev/clx/MainUnit.cpp
+++ b/src/xpdev/clx/MainUnit.cpp
@@ -20,8 +20,6 @@ int main(int argc, char* argv[])
         Thread->ChildEvent->ResetEvent();
     }
     Thread->ChildEvent->WaitFor(INFINITE);	/* wait for thread to end */
-    Thread->Terminate();
-    getchar();
 	return 0;
 }
 //---------------------------------------------------------------------------