예제 #1
0
파일: rcinput.cpp 프로젝트: st7TEAM/bh-gui
	~eInputDeviceInit()
	{
		while (m_drivers.size())
		{
			delete m_devices.back();
			m_devices.pop_back();
			delete m_drivers.back();
			m_drivers.pop_back();
		}
	}
예제 #2
0
	~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);
		}
	}