summaryrefslogtreecommitdiff
path: root/AudioManagerUtilities/src
diff options
context:
space:
mode:
Diffstat (limited to 'AudioManagerUtilities/src')
-rw-r--r--AudioManagerUtilities/src/CAmCommandLineSingleton.cpp8
-rw-r--r--AudioManagerUtilities/src/CAmSocketHandler.cpp2
2 files changed, 9 insertions, 1 deletions
diff --git a/AudioManagerUtilities/src/CAmCommandLineSingleton.cpp b/AudioManagerUtilities/src/CAmCommandLineSingleton.cpp
index d2dff35..1170c31 100644
--- a/AudioManagerUtilities/src/CAmCommandLineSingleton.cpp
+++ b/AudioManagerUtilities/src/CAmCommandLineSingleton.cpp
@@ -44,6 +44,14 @@ TCLAP::CmdLine* CAmCommandLineSingleton::instance()
return pSingleCmdLine;
}
+void CAmCommandLineSingleton::deleteInstance()
+{
+ if (pSingleCmdLine)
+ delete pSingleCmdLine;
+
+ pSingleCmdLine=NULL;
+}
+
CAmCommandLineSingleton::~CAmCommandLineSingleton() {
// TODO Auto-generated destructor stub
}
diff --git a/AudioManagerUtilities/src/CAmSocketHandler.cpp b/AudioManagerUtilities/src/CAmSocketHandler.cpp
index 513c3e0..e4e89d7 100644
--- a/AudioManagerUtilities/src/CAmSocketHandler.cpp
+++ b/AudioManagerUtilities/src/CAmSocketHandler.cpp
@@ -51,7 +51,7 @@ CAmSocketHandler::CAmSocketHandler() :
{
if (pipe(mPipe) == -1)
{
- logError("CAmSerializer could not create pipe!");
+ logError("Sockethandler could not create pipe!");
}
//add the pipe to the poll - nothing needs to be proccessed here we just need the pipe to trigger the ppoll