diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-09-28 11:29:18 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-09-28 11:29:18 -0700 |
commit | 9070da684d66719f7b130a6d0360491bfc727ee2 (patch) | |
tree | 432c2beab1c56c97dd2e7c94649e23225611f88e /src/library.js | |
parent | fc15d3d8092bce3319a2b5e210dc97cb7859634a (diff) |
final fixes for websockets test, now passes
Diffstat (limited to 'src/library.js')
-rw-r--r-- | src/library.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/library.js b/src/library.js index e03af95a..d69068fc 100644 --- a/src/library.js +++ b/src/library.js @@ -6411,6 +6411,11 @@ LibraryManager.library = { return ret; }, + shutdown: function(fd, how) { + Sockets.fds[fd].socket.close(); + Sockets.fds[fd] = null; + }, + // ========================================================================== // emscripten.h // ========================================================================== |