Skip to content

Commit 19691b9

Browse files
committed
Update TPipe.py to replace win32pipe.DisconnectNamedPipe with win32file.CloseHandle
osquery#57
1 parent 8f39a2d commit 19691b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

osquery/TPipe.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def close(self):
3232
in the same way
3333
"""
3434
if self._handle is not None:
35-
win32pipe.DisconnectNamedPipe(self._handle)
35+
win32file.CloseHandle(self._handle)
3636
self._handle = None
3737

3838

0 commit comments

Comments
 (0)