mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Remove duplicate destroy
Telepath now emits the 'destroy' event
This commit is contained in:
@@ -87,7 +87,6 @@ class TextBuffer extends telepath.Model
|
||||
@file?.off()
|
||||
@unsubscribe()
|
||||
@alreadyDestroyed = true
|
||||
@emit 'destroyed', this
|
||||
|
||||
isRetained: -> @refcount > 0
|
||||
|
||||
|
||||
Reference in New Issue
Block a user