mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-25 09:32:33 +08:00
Merge branch 'master' into stable
This commit is contained in:
commit
816edde281
1 changed files with 4 additions and 3 deletions
|
@ -26,9 +26,10 @@ class ListDataSource
|
|||
|
||||
return =>
|
||||
@_emitter.removeListener('trigger', eventHandler)
|
||||
if @_emitter.listenerCount('trigger') is 0
|
||||
@_cleanedup = true
|
||||
@cleanup()
|
||||
process.nextTick =>
|
||||
if @_emitter.listenerCount('trigger') is 0
|
||||
@_cleanedup = true
|
||||
@cleanup()
|
||||
|
||||
loaded: ->
|
||||
throw new Error("ListDataSource base class does not implement loaded()")
|
||||
|
|
Loading…
Reference in a new issue