File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,8 @@ module.exports = Schema.extend({
193193
194194 model . samplingStream
195195 . on ( 'error' , function ( sampleErr ) {
196- this . destroy ( ) ;
196+ model . samplingStream . destroy ( ) ;
197+ model . analyzingStream . destroy ( ) ;
197198 onFail ( sampleErr ) ;
198199 } )
199200 . pipe ( model . analyzingStream )
Original file line number Diff line number Diff line change @@ -118,8 +118,8 @@ var StatusbarView = View.extend({
118118 trickle : function ( bool ) {
119119 if ( bool ) {
120120 this . trickleTimer = setInterval ( function ( ) {
121- this . width = Math . min ( 98 , this . width + _ . random ( 1 , 3 ) ) ;
122- } . bind ( this ) , 400 ) ;
121+ this . width = Math . min ( 98 , this . width + 1 ) ;
122+ } . bind ( this ) , 600 ) ;
123123 } else {
124124 clearInterval ( this . trickleTimer ) ;
125125 }
You can’t perform that action at this time.
0 commit comments