SerialInterfacePOSIX::~SerialInterfacePOSIX()
{
	if ( isOpen() )
	{
		// Before destroying the interface, we "go home"
		goHomeCP();

		close( mFileDescriptor );
	}
	mFileDescriptor = -1;
}
SerialInterfaceWindows::~SerialInterfaceWindows()
{
	if ( isOpen() )
	{
		// Before destroying the interface, we "go home"
		goHomeCP();
		
		CloseHandle( mPortHandle );
	}
	mPortHandle = NULL;
}