mpx/playbackframework/playbackserver/src/mpxplaybackserver.cpp
changeset 35 2ee890d2f7e7
parent 27 cbb1bfb7ebfb
--- a/mpx/playbackframework/playbackserver/src/mpxplaybackserver.cpp	Thu May 27 13:19:19 2010 +0300
+++ b/mpx/playbackframework/playbackserver/src/mpxplaybackserver.cpp	Fri Jun 11 14:04:53 2010 +0300
@@ -72,8 +72,8 @@
     CleanupStack::PushL(server);
     RProcess::Rendezvous(KErrNone);
     CActiveScheduler::Start();
+    CleanupStack::PopAndDestroy(server);
     CActiveScheduler::Install(NULL);
-    CleanupStack::PopAndDestroy(server);
     CleanupStack::PopAndDestroy(scheduler);
     }