mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-22 08:28:41 +03:00
Release any leftover buffers in Project.destroy
This commit is contained in:
parent
0c17ed9c33
commit
23df564189
@ -38,6 +38,7 @@ class Project
|
||||
|
||||
destroy: ->
|
||||
editSession.destroy() for editSession in @getEditSessions()
|
||||
buffer.release() for buffer in @getBuffers()
|
||||
|
||||
### Public ###
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user