Skip to content

Commit de6a2ce

Browse files
Merge branch 'IDE-7797-ha_cspyserver_crash_on_exit' into 'master'
IDE-7797 Don't close thrift servers until ide process exits Closes IDE-7797 See merge request ide/vscode/iar-vsc-common!8
2 parents 8d1e50a + afed904 commit de6a2ce

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/thrift/thriftServiceRegistryProcess.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ export class ThriftServiceRegistryProcess {
9494
this.crashHandlers = [];
9595

9696
await this.stopProcess(this.serviceRegistry);
97-
this.serviceRegistry.dispose();
9897

9998
// Wait for service registry process to exit
10099
if (this.process.exitCode === null) {
@@ -106,6 +105,8 @@ export class ThriftServiceRegistryProcess {
106105
}, ThriftServiceRegistryProcess.PROCESS_EXIT_TIMEOUT);
107106
});
108107
}
108+
109+
this.serviceRegistry.dispose();
109110
}
110111

111112
/**

0 commit comments

Comments
 (0)