StopThread();
m_communication = NULL;
m_controller = NULL;
- delete[] m_busDevices;
+ for (unsigned int iPtr = 0; iPtr < 16; iPtr++)
+ delete m_busDevices[iPtr];
}
bool CCECProcessor::Start(void)
m_controller->CheckKeypressTimeout();
+ for (unsigned int iDevicePtr = 0; iDevicePtr < 16; iDevicePtr++)
+ m_busDevices[iDevicePtr]->PollVendorId();
+
if (!IsStopped())
Sleep(5);
}