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 1171c6bCopy full SHA for 1171c6b
osquery/TPipe.py
@@ -32,7 +32,8 @@ def close(self):
32
in the same way
33
"""
34
if self._handle is not None:
35
- win32file.CloseHandle(self._handle)
+ #win32file.CloseHandle(self._handle)
36
+ win32pipe.DisconnectNamedPipe(self._handle)
37
self._handle = None
38
39
@@ -227,6 +228,7 @@ def close(self):
227
228
attempts are successful
229
230
- win32pipe.DisconnectNamedPipe(self._handle)
231
+ #win32pipe.DisconnectNamedPipe(self._handle)
232
+ super(TPipe, self).close()
233
win32file.CloseHandle(self._handle)
234
0 commit comments