mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-20 23:48:05 +03:00
Remove duplicate destroy
Telepath now emits the 'destroy' event
This commit is contained in:
parent
24c84fe09c
commit
201717a9aa
@ -87,7 +87,6 @@ class TextBuffer extends telepath.Model
|
||||
@file?.off()
|
||||
@unsubscribe()
|
||||
@alreadyDestroyed = true
|
||||
@emit 'destroyed', this
|
||||
|
||||
isRetained: -> @refcount > 0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user