{"action":"closed","issue":{"url":"https://api.github.com/repos/RIAEvangelist/node-ipc/issues/62","labels_url":"https://api.github.com/repos/RIAEvangelist/node-ipc/issues/62/labels{/name}","comments_url":"https://api.github.com/repos/RIAEvangelist/node-ipc/issues/62/comments","events_url":"https://api.github.com/repos/RIAEvangelist/node-ipc/issues/62/events","html_url":"https://github.com/RIAEvangelist/node-ipc/issues/62","id":125809873,"number":62,"title":"UDP server.stop() throws socket.destroy not a function","user":{"login":"RIAEvangelist","id":369041,"avatar_url":"https://avatars.githubusercontent.com/u/369041?v=3","gravatar_id":"","url":"https://api.github.com/users/RIAEvangelist","html_url":"https://github.com/RIAEvangelist","followers_url":"https://api.github.com/users/RIAEvangelist/followers","following_url":"https://api.github.com/users/RIAEvangelist/following{/other_user}","gists_url":"https://api.github.com/users/RIAEvangelist/gists{/gist_id}","starred_url":"https://api.github.com/users/RIAEvangelist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RIAEvangelist/subscriptions","organizations_url":"https://api.github.com/users/RIAEvangelist/orgs","repos_url":"https://api.github.com/users/RIAEvangelist/repos","events_url":"https://api.github.com/users/RIAEvangelist/events{/privacy}","received_events_url":"https://api.github.com/users/RIAEvangelist/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-10T09:29:40Z","updated_at":"2016-01-10T09:45:51Z","closed_at":"2016-01-10T09:45:51Z","body":"\r\n\r\n```sh\r\n\r\n    /home/bmiller/git/node-ipc/lib/socketServer.js:9\r\n    __cov_lfQLJ50Tpas4nzNlJdRiUw.s['1']++;var net=require('net'),tls=require('tls'),fs=require('fs'),dgram=require('dgram'),eventParser=require('../lib/eventParser.js'),pubsub=require('event-pubsub'),Message=require('js-message');function emit(socket,type,data){__cov_lfQLJ50Tpas4nzNlJdRiUw.f['1']++;__cov_lfQLJ50Tpas4nzNlJdRiUw.s['3']++;this.log('dispatching event to socket'.debug,' : ',type.data,data);__cov_lfQLJ50Tpas4nzNlJdRiUw.s['4']++;var message=new Message();__cov_lfQLJ50Tpas4nzNlJdRiUw.s['5']++;message.type=type;__cov_lfQLJ50Tpas4nzNlJdRiUw.s['6']++;message.data=data;__cov_lfQLJ50Tpas4nzNlJdRiUw.s['7']++;if(this.config.rawBuffer){__cov_lfQLJ50Tpas4nzNlJdRiUw.b['1'][0]++;__cov_lfQLJ50Tpas4nzNlJdRiUw.s['8']++;message=new Buffer(type,this.encoding);}else{__cov_lfQLJ50Tpas4nzNlJdRiUw.b['1'][1]++;__cov_lfQLJ50Tpas4nzNlJdRiUw.s['9']++;message=eventParser.format(message);}__cov_lfQLJ50Tpas4nzNlJdRiUw.s['10']++;if((__cov_lfQLJ50Tpas4nzNlJdRiUw.b['3'][0]++,this.udp\r\n\r\n    TypeError: socket.destroy is not a function\r\n        at Object.<anonymous> (/home/bmiller/git/node-ipc/lib/socketServer.js:9:15989)\r\n        at Object.pub (/home/bmiller/git/node-ipc/node_modules/event-pubsub/event-pubsub.js:69:19)\r\n        at Object.trigger (/home/bmiller/git/node-ipc/node_modules/event-pubsub/event-pubsub.js:111:21)\r\n        at Socket.<anonymous> (/home/bmiller/git/node-ipc/lib/socketServer.js:9:9217)\r\n        at emitNone (events.js:67:13)\r\n        at Socket.emit (events.js:166:7)\r\n        at socketCloseNT (dgram.js:366:8)\r\n        at doNTCallback1 (node.js:430:9)\r\n        at process._tickCallback (node.js:352:17)\r\n\r\n```\r\n"}}