Remove duplicate destroy

Telepath now emits the 'destroy' event
This commit is contained in:
probablycorey 2013-12-10 17:04:46 -08:00
parent 24c84fe09c
commit 201717a9aa

View File

@ -87,7 +87,6 @@ class TextBuffer extends telepath.Model
@file?.off()
@unsubscribe()
@alreadyDestroyed = true
@emit 'destroyed', this
isRetained: -> @refcount > 0