Skip to content

Commit

Permalink
Merge pull request electron#2875 from atom/fix-buffer-gc
Browse files Browse the repository at this point in the history
Do not rely garbage collection to free memory of Buffer
  • Loading branch information
zcbenz committed Sep 23, 2015
2 parents d8062ab + 706deae commit 057c773
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions spec/modules-spec.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ describe 'third-party module', ->
assert.equal msg, 'ok'
done()

describe 'ffi', ->
return if process.platform is 'darwin'
it 'does not crash', ->
require 'ffi'

describe 'q', ->
Q = require 'q'

Expand Down
1 change: 1 addition & 0 deletions spec/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"version": "0.1.0",
"devDependencies": {
"basic-auth": "^1.0.0",
"ffi": "2.0.0",
"formidable": "1.0.16",
"graceful-fs": "3.0.5",
"mocha": "2.1.0",
Expand Down
2 changes: 1 addition & 1 deletion vendor/node
Submodule node updated 1 files
+12 −7 src/node_buffer.cc

0 comments on commit 057c773

Please sign in to comment.