equal
deleted
inserted
replaced
622 iEikServExtra->iServerRestarter = CPeriodic::NewL(CActive::EPriorityStandard); |
622 iEikServExtra->iServerRestarter = CPeriodic::NewL(CActive::EPriorityStandard); |
623 } |
623 } |
624 |
624 |
625 EXPORT_C void CEikServAppUiBase::HandleThreadExitL(RThread& aThread) |
625 EXPORT_C void CEikServAppUiBase::HandleThreadExitL(RThread& aThread) |
626 { |
626 { |
|
627 _LIT(KAppArcServerThread, "AppArcServerThread"); |
627 if (aThread.Name() == ASCliDefinitions::ServerAndThreadName()) // alarm server died |
628 if (aThread.Name() == ASCliDefinitions::ServerAndThreadName()) // alarm server died |
628 { |
629 { |
629 aThread.Close(); // need to Close() before restarting with same name |
630 aThread.Close(); // need to Close() before restarting with same name |
630 iServerToRestart |= EAlwlSvr; // restarted under active object |
631 iServerToRestart |= EAlwlSvr; // restarted under active object |
631 } |
632 } |
632 else if (aThread.Name()==NameApaServServerThread()) // AppArc server died |
633 else if (aThread.Name() == KAppArcServerThread) // AppArc server died |
633 { |
634 { |
634 aThread.Close(); |
635 aThread.Close(); |
635 iServerToRestart|=EApaSvr; |
636 iServerToRestart|=EApaSvr; |
636 } |
637 } |
637 |
638 |