Steven Silvester 6 anos atrás
pai
commit
d90830ba19
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      packages/inspector/src/handler.ts

+ 1 - 1
packages/inspector/src/handler.ts

@@ -25,7 +25,7 @@ export class InspectionHandler implements IDisposable, IInspector.IInspectable {
   constructor(options: InspectionHandler.IOptions) {
     this._connector = options.connector;
     this._rendermime = options.rendermime;
-    this._debouncer = new Debouncer(() => this.onEditorChange, 250);
+    this._debouncer = new Debouncer(this.onEditorChange.bind(this), 250);
   }
 
   /**