devsoundextensions/ciextnfactoryplugins/ciextnserverplugin/src/ciextnserverplugin.cpp
changeset 2 5c1df44f2eed
parent 0 b8ed18f6c07b
--- a/devsoundextensions/ciextnfactoryplugins/ciextnserverplugin/src/ciextnserverplugin.cpp	Thu Oct 07 23:44:30 2010 +0100
+++ b/devsoundextensions/ciextnfactoryplugins/ciextnserverplugin/src/ciextnserverplugin.cpp	Wed Oct 13 12:45:32 2010 +0100
@@ -59,11 +59,7 @@
     {
     DEB_TRACE0(_L("*CI* CCIExtnServerPlugin::Setup"));
     TInt status(KErrNone);
-    TRAPD(err, iCiExtnServerPluginWrapper = CIExtnServerPluginWrapper::NewL(aInterface));
-    if (err == KErrNone)
-        {
-        iMCustomInterface = iCiExtnServerPluginWrapper->GetInterface();
-        }
+    iMCustomInterface = &aInterface;
     TRAP_IGNORE(InitializeMsgHndlrPluginsL());
     return status;
     }
@@ -111,7 +107,6 @@
     iMCIMsgHndlrIntfcList.Reset();
     iMCIMsgHndlrIntfcList.Close();
 
-    iCiExtnServerPluginWrapper->Release();
 
     REComSession::DestroyedImplementation(iDestructorKey);