瀏覽代碼

fixed crash issue

master
mort 8 年之前
父節點
當前提交
dcaece2e44
共有 2 個檔案被更改,包括 3 行新增2 行删除
  1. 2
    1
      index.js
  2. 1
    1
      package.json

+ 2
- 1
index.js 查看文件

@@ -69,7 +69,8 @@ var util = require("util");

//Generic internal send function
Socket.prototype._send = function(data) {
this._websock.send(JSON.stringify(data));
if (this._ready)
this._websock.send(JSON.stringify(data));
}

//Trigger event on the client

+ 1
- 1
package.json 查看文件

@@ -1,6 +1,6 @@
{
"name": "socksugar",
"version": "0.3.1",
"version": "0.3.2",
"description": "Websockets with sugar on top.",
"main": "index.js",
"scripts": {

Loading…
取消
儲存