mirror of
https://github.com/atom/atom.git
synced 2026-02-08 13:45:09 -05:00
Improve terminate pending state tests.
Remove argument to remove pending state listeners.
This commit is contained in:
committed by
Katrina Uychaco
parent
4d0b58ff46
commit
aea9c5804a
@@ -579,7 +579,7 @@ class TextEditor extends Model
|
||||
terminatePendingState: ->
|
||||
return if not @pending
|
||||
@pending = false
|
||||
@emitter.emit 'did-terminate-pending-state', this
|
||||
@emitter.emit 'did-terminate-pending-state'
|
||||
|
||||
###
|
||||
Section: File Details
|
||||
|
||||
Reference in New Issue
Block a user