Skip to content

Commit

Permalink
revert _pswindows.py change committed by accident
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Aug 3, 2023
1 parent befb24d commit 3e8f5f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psutil/_pswindows.py
Original file line number Diff line number Diff line change
Expand Up @@ -879,8 +879,8 @@ def memory_maps(self):
def kill(self):
return cext.proc_kill(self.pid)

@wrap_exceptions
def send_signal(self, sig):
self._raise_if_pid_reused()
if sig == signal.SIGTERM:
cext.proc_kill(self.pid)
# py >= 2.7
Expand Down

0 comments on commit 3e8f5f9

Please sign in to comment.