diff options
author | Benoit Foucher <benoit@zeroc.com> | 2015-08-05 11:24:05 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2015-08-05 11:24:05 +0200 |
commit | 878a86d4494b879fc129b1ac7a5e3f95c19c0262 (patch) | |
tree | 28123ebce80d70227c472b64f1fab200b0e6a827 /js | |
parent | Fixed ICE-6159: release memory allocated by connection buffers when the conne... (diff) | |
download | ice-878a86d4494b879fc129b1ac7a5e3f95c19c0262.tar.bz2 ice-878a86d4494b879fc129b1ac7a5e3f95c19c0262.tar.xz ice-878a86d4494b879fc129b1ac7a5e3f95c19c0262.zip |
Added ICE-6159 fix to JavaScript runtime
Diffstat (limited to 'js')
-rw-r--r-- | js/src/Ice/ConnectionI.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/js/src/Ice/ConnectionI.js b/js/src/Ice/ConnectionI.js index 855960bacdd..0768a89ff15 100644 --- a/js/src/Ice/ConnectionI.js +++ b/js/src/Ice/ConnectionI.js @@ -1055,6 +1055,14 @@ var ConnectionI = Class({ } this._asyncRequests.clear(); + // + // Don't wait to be reaped to reclaim memory allocated by read/write streams. + // + this._readStream.clear(); + this._readStream.buffer.clear(); + this._writeStream.clear(); + this._writeStream.buffer.clear(); + if(this._callback !== null) { try |