~eInputDeviceInit() { while (m_drivers.size()) { delete m_devices.back(); m_devices.pop_back(); delete m_drivers.back(); m_drivers.pop_back(); } }
~eInputDeviceInit() { while (m_drivers.size()) { delete m_devices.back(); m_devices.pop_back(); delete m_drivers.back(); m_drivers.pop_back(); } if (consoleFd >= 0) { ::close(consoleFd); } }