equal
deleted
inserted
replaced
42 */ |
42 */ |
43 CMTPFrameworkConfig::~CMTPFrameworkConfig() |
43 CMTPFrameworkConfig::~CMTPFrameworkConfig() |
44 { |
44 { |
45 //Save the AbnormalDown state to EFalse |
45 //Save the AbnormalDown state to EFalse |
46 const TInt KNormalShutDownValue = 0; |
46 const TInt KNormalShutDownValue = 0; |
47 iRepository->Set(EAbnormalDown, KNormalShutDownValue); |
47 |
48 |
48 if( iRepository ) |
49 delete iRepository; |
49 { |
|
50 iRepository->Set(EAbnormalDown, KNormalShutDownValue); |
|
51 delete iRepository; |
|
52 iRepository = NULL; |
|
53 } |
|
54 |
50 } |
55 } |
51 |
56 |
52 EXPORT_C void CMTPFrameworkConfig::GetValueL(TParameter aParam, TDes& aValue) const |
57 EXPORT_C void CMTPFrameworkConfig::GetValueL(TParameter aParam, TDes& aValue) const |
53 { |
58 { |
54 TInt err(iRepository->Get(aParam, aValue)); |
59 TInt err(iRepository->Get(aParam, aValue)); |