diff options
Diffstat (limited to 'PC/_subprocess.c')
-rw-r--r-- | PC/_subprocess.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/PC/_subprocess.c b/PC/_subprocess.c index 99cbd24..d0c9843 100644 --- a/PC/_subprocess.c +++ b/PC/_subprocess.c @@ -84,7 +84,7 @@ sp_handle_detach(sp_handle_object* self, PyObject* args) handle = self->handle; - self->handle = NULL; + self->handle = INVALID_HANDLE_VALUE; /* note: return the current handle, as an integer */ return HANDLE_TO_PYNUM(handle); |