Skip to content

Commit f59d6e4

Browse files
author
Sofia Kopikova
committed
Fix broken pipe from gdb after killing process
1 parent a5cfdb6 commit f59d6e4

File tree

1 file changed

+1
-2
lines changed
  • testgres/plugins/pg_probackup2/pg_probackup2

1 file changed

+1
-2
lines changed

testgres/plugins/pg_probackup2/pg_probackup2/gdb.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,8 @@ def get_line(self):
102102
return line
103103

104104
def kill(self):
105+
self._execute('kill')
105106
self._did_quit = True
106-
self.proc.kill()
107-
self.proc.wait(3)
108107
self.proc.stdin.close()
109108
self.proc.stdout.close()
110109

0 commit comments

Comments
 (0)