future: Sets promises in error in setAdaptedResult in case of invalid references.
future: Sets promises in error in setAdaptedResult in case of invalid references.

It is an oversight in the recent commit that already aimed at fixing
this issue.

Change-Id: Ibaf10f986c4a6a61f2f438c58d8dc3bee997dd96
Reviewed-on: http://gerrit.aldebaran.lan/91911
Reviewed-by: vincent.palancher <f8ff75e1c61314c499fafa8de0d9e004e87e66b0@external.softbankrobotics.com>
Reviewed-by: jmonnon <8898eaf233516e520f996a244ca8a12d20f948b1@aldebaran.com>
Reviewed-by: jlamotte <70353e7b0c7d18b7fc75605daf0ccba69fcd3222@aldebaran.com>
Tested-by: vincent.palancher <f8ff75e1c61314c499fafa8de0d9e004e87e66b0@external.softbankrobotics.com>

aldebaran/libqi,aldebaran/libqi,aldebaran/libqi