[Bluetooth] do not return in C API callbacks
authorCorentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
Fri, 17 Oct 2014 13:10:04 +0000 (15:10 +0200)
committerCorentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
Fri, 17 Oct 2014 14:16:57 +0000 (16:16 +0200)
commitf35e20dd6c09bece281b309fb341ea3cf9ed9af4
tree70a69709397355a1af1a4536c7d17927d62b1f6d
parent91508756d08fcf83be08ca0335fa6e92511529b4
[Bluetooth] do not return in C API callbacks

This ensures to always execute javascript async post messages and so do
not infinitely wait for backend post messages.
This would prevent from freezing xwalk in some cases.

BUG=XWALK-2491
bluetooth/bluetooth_instance_capi.cc