Fix premature callback GC detection
Merge remote-tracking branch 'upstream/master' into travis-osx