mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Release any leftover buffers in Project.destroy
This commit is contained in:
@@ -38,6 +38,7 @@ class Project
|
||||
|
||||
destroy: ->
|
||||
editSession.destroy() for editSession in @getEditSessions()
|
||||
buffer.release() for buffer in @getBuffers()
|
||||
|
||||
### Public ###
|
||||
|
||||
|
||||
Reference in New Issue
Block a user