Skip to content

Commit a98736e

Browse files
committed
typo
1 parent ab63026 commit a98736e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/backend/server.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,9 @@ export class GDBServer extends EventEmitter {
6767
public exit(): void {
6868
if (this.process) {
6969
try {
70-
console.log('GDBServer: requesting an exit with SIGNINT');
7170
// Some of gdb-servers want to recieve an Control-C equivalent first, so try that for
7271
// a bit more graceful exit
73-
this.process.once('SIGINT', () => {
74-
console.log('Server got SIGINT');
75-
})
72+
console.log('GDBServer: requesting an exit with SIGINT');
7673
this.process.kill('SIGINT');
7774
setTimeout(() => {
7875
if (this.process != null) { // Still not dead?

0 commit comments

Comments
 (0)