Steven Silvester 6 years ago
parent
commit
d90830ba19
1 changed files with 1 additions and 1 deletions
  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);
   }
 
   /**