Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue with
close
event always being emitted
This addresses a changed behaviour in Node 10, resulting from the fact that the `close` event is always being emitted now. This would have lead to the `place_binary()` callback being called twice when the HTTP request failed (with e.g. a 404). Refs: nodejs/node#21063 Fixes: mapbox#391
- Loading branch information