No need to destroy parts in runloop
This commit is contained in:
parent
c13cd4e72e
commit
fa6b0fe161
|
@ -34,9 +34,7 @@ require 'travis/log_chunks'
|
||||||
clearParts: ->
|
clearParts: ->
|
||||||
parts = @get('parts')
|
parts = @get('parts')
|
||||||
@notifyPropertyChange('parts')
|
@notifyPropertyChange('parts')
|
||||||
Ember.run.next ->
|
parts.destroy()
|
||||||
# destroy old parts after they're refreshed
|
|
||||||
parts.destroy()
|
|
||||||
|
|
||||||
fetch: ->
|
fetch: ->
|
||||||
console.log 'log model: fetching log' if Log.DEBUG
|
console.log 'log model: fetching log' if Log.DEBUG
|
||||||
|
|
Loading…
Reference in New Issue
Block a user