Skip to content

Commit b5855e4

Browse files
Fix broken pipe from gdb after killing process (#151)
1 parent 644eea8 commit b5855e4

File tree

1 file changed

+3
-0
lines changed
  • testgres/plugins/pg_probackup2/pg_probackup2

1 file changed

+3
-0
lines changed

Diff for: testgres/plugins/pg_probackup2/pg_probackup2/gdb.py

+3
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ def kill(self):
108108
self.proc.stdin.close()
109109
self.proc.stdout.close()
110110

111+
def terminate_subprocess(self):
112+
self._execute('kill')
113+
111114
def set_breakpoint(self, location):
112115

113116
result = self._execute('break ' + location)

0 commit comments

Comments
 (0)