Remove unneeded cleanup code
This commit is contained in:
parent
1a93babdbc
commit
e110f5c37c
1 changed files with 1 additions and 6 deletions
|
@ -43,9 +43,4 @@ module.exports.wrap = (webContents) ->
|
||||||
webContents
|
webContents
|
||||||
|
|
||||||
module.exports.create = (options={}) ->
|
module.exports.create = (options={}) ->
|
||||||
webContents = @wrap binding.create(options)
|
@wrap binding.create(options)
|
||||||
|
|
||||||
# Ensure the webContents is destroyed on exit.
|
|
||||||
process.on 'exit', -> webContents.destroy()
|
|
||||||
|
|
||||||
webContents
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue