We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8acbaa commit 1486e06Copy full SHA for 1486e06
src/views/results/resultSetPanelProvider.ts
@@ -92,7 +92,7 @@ export class ResultSetPanelProvider implements WebviewViewProvider {
92
if (message.query) {
93
if (this.currentQuery) {
94
// If we get a request for a new query, then we need to close the old one
95
- if (this.currentQuery.getId() !== message.queryId) {
+ if (this.currentQuery.getId() === undefined || this.currentQuery.getId() !== message.queryId) {
96
// This is a new query, so we need to clean up the old one
97
await this.currentQuery.close();
98
this.currentQuery = undefined;
0 commit comments