@@ -78,7 +78,7 @@ export class CoreServiceImpl extends CoreClientAware implements CoreService {
78
78
const result = client . compile ( compileReq ) ;
79
79
80
80
const compileBuffer = new OutputPanelBufferProvider (
81
- this . flushOutputPanelMessages ,
81
+ this . flushOutputPanelMessages . bind ( this ) ,
82
82
this . FLUSH_OUTPUT_MESSAGES_TIMEOUT_MS
83
83
) ;
84
84
try {
@@ -185,7 +185,7 @@ export class CoreServiceImpl extends CoreClientAware implements CoreService {
185
185
const result = responseHandler ( client , req ) ;
186
186
187
187
const uploadBuffer = new OutputPanelBufferProvider (
188
- this . flushOutputPanelMessages ,
188
+ this . flushOutputPanelMessages . bind ( this ) ,
189
189
this . FLUSH_OUTPUT_MESSAGES_TIMEOUT_MS
190
190
) ;
191
191
try {
@@ -256,7 +256,7 @@ export class CoreServiceImpl extends CoreClientAware implements CoreService {
256
256
const result = client . burnBootloader ( burnReq ) ;
257
257
258
258
const bootloaderBuffer = new OutputPanelBufferProvider (
259
- this . flushOutputPanelMessages ,
259
+ this . flushOutputPanelMessages . bind ( this ) ,
260
260
this . FLUSH_OUTPUT_MESSAGES_TIMEOUT_MS
261
261
) ;
262
262
try {
@@ -309,8 +309,5 @@ export class CoreServiceImpl extends CoreClientAware implements CoreService {
309
309
this . responseService . appendToOutput ( {
310
310
chunk,
311
311
} ) ;
312
- this . responseService . appendToOutput ( {
313
- chunk,
314
- } ) ;
315
312
}
316
313
}
0 commit comments