equal
deleted
inserted
replaced
60 RThread thread; |
60 RThread thread; |
61 TInt err=thread.Open(iCurrentTask.ThreadId()); |
61 TInt err=thread.Open(iCurrentTask.ThreadId()); |
62 if (err == KErrNone) |
62 if (err == KErrNone) |
63 { |
63 { |
64 RProcess process; |
64 RProcess process; |
65 err = thread.Process(process); |
65 thread.Process(process); |
66 if(err == KErrNone) |
66 TBool isDataPaged = process.DefaultDataPaged(); |
|
67 if((aIsDataPaged && isDataPaged) || (!aIsDataPaged && !isDataPaged )) |
67 { |
68 { |
68 TBool isDataPaged = process.DefaultDataPaged(); |
69 iCurrentTask.EndTask(); |
69 if((aIsDataPaged && isDataPaged) || (!aIsDataPaged && !isDataPaged )) |
|
70 { |
|
71 iCurrentTask.EndTask(); |
|
72 } |
|
73 process.Close(); |
|
74 } |
70 } |
75 thread.Close(); |
|
76 } |
71 } |
77 } |
72 } |
78 |
73 |
79 COomCloseApp::~COomCloseApp() |
74 COomCloseApp::~COomCloseApp() |
80 { |
75 { |