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 ab63026 commit a98736eCopy full SHA for a98736e
src/backend/server.ts
@@ -67,12 +67,9 @@ export class GDBServer extends EventEmitter {
67
public exit(): void {
68
if (this.process) {
69
try {
70
- console.log('GDBServer: requesting an exit with SIGNINT');
71
// Some of gdb-servers want to recieve an Control-C equivalent first, so try that for
72
// a bit more graceful exit
73
- this.process.once('SIGINT', () => {
74
- console.log('Server got SIGINT');
75
- })
+ console.log('GDBServer: requesting an exit with SIGINT');
76
this.process.kill('SIGINT');
77
setTimeout(() => {
78
if (this.process != null) { // Still not dead?
0 commit comments