We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb4df96 commit 862dd8dCopy full SHA for 862dd8d
osquery/TPipe.py
@@ -32,7 +32,7 @@ def close(self):
32
in the same way
33
"""
34
if self._handle is not None:
35
- win32file.CloseHandle(self._handle)
+ win32pipe.DisconnectNamedPipe(self._handle)
36
self._handle = None
37
38
@@ -227,6 +227,6 @@ def close(self):
227
attempts are successful
228
229
230
- win32pipe.DisconnectNamedPipe(self._handle)
+ super(TPipe, self).close()
231
win32file.CloseHandle(self._handle)
232
0 commit comments