Definition at line 53 of file Server.h. References Impala::Util::ChannelServer::FirstPort(), mJobByPort, mJobsDone, mJobsWaiting, and Impala::Util::ChannelServer::NrOfPorts(). 00054 { 00055 int len = mJobsDone.size(); 00056 for (int i = 0; i < len; i++) 00057 delete mJobsDone[i]; 00058 00059 len = mJobsWaiting.size(); 00060 for (int i = 0; i < len; i++) 00061 delete mJobsWaiting[i]; 00062 00063 int maxPort = FirstPort() + NrOfPorts() - 1; 00064 for (int port = (FirstPort() + 1); port <= maxPort; port++) 00065 { 00066 if (mJobByPort[port] != 0) 00067 { 00068 Job* job = mJobByPort[port]; 00069 delete job; 00070 mJobByPort[port] = 0; 00071 } 00072 } 00073 }
Here is the call graph for this function:
|