mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Implement refcounting scheme on Buffer
This commit is contained in:
@@ -570,8 +570,11 @@ class Editor extends View
|
||||
if @pane() then @pane().remove() else super
|
||||
rootView?.focus()
|
||||
|
||||
getEditSessions: ->
|
||||
new Array(@editSessions...)
|
||||
|
||||
destroyEditSessions: ->
|
||||
for session in @editSessions
|
||||
for session in @getEditSessions()
|
||||
session.destroy()
|
||||
|
||||
renderWhenAttached: ->
|
||||
|
||||
Reference in New Issue
Block a user