mirror of https://github.com/lukechilds/node.git
Browse Source
Don't set the oncomplete property in src/cares_wrap.cc, we can do it just as easily in lib/dns.js. Switch two closures to the 'function with _this_ object' model. Makes it impossible for an overzealous closure to capture too much context and accidentally hold on to too much memory.v0.11.6-release
Ben Noordhuis
12 years ago
2 changed files with 33 additions and 42 deletions
Loading…
Reference in new issue