Skip to content

Commit

Permalink
add; auto unref client
Browse files Browse the repository at this point in the history
  • Loading branch information
wavded committed Sep 29, 2014
1 parent e319afc commit 12c4ffc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/client.js
Expand Up @@ -29,6 +29,7 @@ var GrayGelf = function (opts) {
if (!opts.mock) {
this._udp = dgram.createSocket('udp4')
this._udp.on('error', this._checkError.bind(this))
this._udp.unref()
}

this.writable = true // writable stream
Expand Down

0 comments on commit 12c4ffc

Please sign in to comment.