Skip to content

Commit

Permalink
Fix broken pipe from gdb after killing process (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
MetalDream666 authored Nov 22, 2024
1 parent 644eea8 commit b5855e4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions testgres/plugins/pg_probackup2/pg_probackup2/gdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ def kill(self):
self.proc.stdin.close()
self.proc.stdout.close()

def terminate_subprocess(self):
self._execute('kill')

def set_breakpoint(self, location):

result = self._execute('break ' + location)
Expand Down

0 comments on commit b5855e4

Please sign in to comment.