Skip to content

Commit bc65d8f

Browse files
committed
Fix loading results in second opened view
When results were already cached in memory and the view requested the result, it would not be loaded because the event would not be fired. This fires the event when the result is loaded from cache as well, to ensure that the view always receives the result.
1 parent a1b81d9 commit bc65d8f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

extensions/ql-vscode/src/remote-queries/variant-analysis-results-manager.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ export class VariantAnalysisResultsManager extends DisposableObject {
121121
createCacheKey(variantAnalysisId, repositoryFullName),
122122
);
123123
if (result) {
124+
this._onResultLoaded.fire(result);
124125
return result;
125126
}
126127

0 commit comments

Comments
 (0)