Skip to content

Commit

Permalink
Fixes #31657
Browse files Browse the repository at this point in the history
  • Loading branch information
michelkaporin committed Jul 28, 2017
1 parent 62244a3 commit 0e7546c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/vs/editor/contrib/hover/browser/modesContentHover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,9 @@ export class ModesContentHoverWidget extends ContentHoverWidget {

dispose(): void {
this._hoverOperation.cancel();
this._colorPicker.dispose();
if (this._colorPicker) {
this._colorPicker.dispose();
}
super.dispose();
}

Expand Down

0 comments on commit 0e7546c

Please sign in to comment.