Jon

Results 8 comments of Jon

By the way, thanks a ton for making this library. It's been super useful as I test out the BLE module for tessel (tessel.io)

Actually, I lied. It seems to be a race condition (surprise)! It will inconsistently pass or fail regardless of whether the callback is named.

Hi @rvagg, Yes, I'm wrapping my callback in a `NanCallback` to keep it from being gc'ed. Here is a copy of my addon.cc ``` .cc #include // at the top...

@rvagg unfortunately, it still passes inconsistently.

Yeah, it will fail somewhere around 9 times out of 10.

I'm also experiencing this. We're using `jpeg` as a dependency for the [Tessel](https://tessel.io) `audiovideo` module.