uiacceltk/hitchcock/AlfDecoderServerClient/src/alfdecoderserverclient.cpp
branchRCL_3
changeset 12 f93c875b566e
parent 8 46927d61fef3
child 13 3a60ebea00d0
--- a/uiacceltk/hitchcock/AlfDecoderServerClient/src/alfdecoderserverclient.cpp	Tue May 11 17:03:00 2010 +0300
+++ b/uiacceltk/hitchcock/AlfDecoderServerClient/src/alfdecoderserverclient.cpp	Tue May 25 13:39:57 2010 +0300
@@ -22,9 +22,18 @@
 #include "alfuids.h"
 
 _LIT(KAlfServerThreadName, "alfredserver");
+
+
+// Implements just Error() to avoid panic
+NONSHARABLE_CLASS(CSimpleScheduler) : public CActiveScheduler
+    {
+    void Error( TInt ) const{} // From CActiveScheduler
+    };
+
+
 static void RunServerL()
     {
-    CActiveScheduler* s=new(ELeave) CActiveScheduler;
+    CActiveScheduler* s=new(ELeave) CSimpleScheduler;
     CleanupStack::PushL(s);
     CActiveScheduler::Install(s);