unfreed process struct internal on Windows
This commit is contained in:
parent
f9667732d0
commit
c0b4c6ca58
|
|
@ -4776,6 +4776,8 @@ RLAPI void CloseProcess(Process process)
|
|||
void *pipes[] = { process.internal->pipeStdoutRead, process.internal->pipeStdinWrite };
|
||||
CloseAllPipesWindows(pipes, sizeof(pipes) / sizeof(pipes[0]));
|
||||
|
||||
RL_FREE(process.internal);
|
||||
|
||||
#elif defined(__linux__) || defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__APPLE__)
|
||||
// If process is not running or not found, nothing to do
|
||||
ProcessInfo info = CheckProcess(process);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user