After taking picture, view finder is not starting, it hangs What can be the problem. I am using right StartViewFinder Function.

case ETakePicture:
{

DoSnapL();
CAknInformationNote* informationNote;
informationNote = new (ELeave) CAknInformationNote;
informationNote->ExecuteLD(_L("Capturing New Image"));

DoNewImageL();


break;
}

void CokaocameraAppUi:oNewImageL()
{
// Redisplay the "Standard" and "Portrait" tabs


//Start the viewfinder

//## IN/OUT parameta add

iController->StartViewFinderL();

iCameraMode = EViewFinding;
}

void CokaocameraController::StartViewFinderL()
{

iCameraCaptureEngine->SetMode( iCameraMode );
iCameraCaptureEngine->StartViewFinderL();


}

Actually, not able to get why View Finder is not Starting. Is there anything we have to do after stopping view Finder.
Thanks
Vikram