mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-15 18:50:20 -08:00
close stdout/stderr/stdin handles
This commit is contained in:
1 parent
992be37801
commit
b02c67bfa6
3 files changed
+9
-4
No files matched your search
@@ -4302,6 +4302,11 @@ ctrl_thread__launch(DMN_CtrlCtx *ctrl_ctx, CTRL_Msg *msg)
|
||||
}
|
||||
U32 id = dmn_ctrl_launch(ctrl_ctx, ¶ms);
|
||||
|
||||
//- rjf: close stdout/stderr/stdin files
|
||||
os_file_close(stdout_handle);
|
||||
os_file_close(stderr_handle);
|
||||
os_file_close(stdin_handle);
|
||||
|
||||
//- rjf: record (id -> entry points), so that we know custom entry points for this PID
|
||||
for(String8Node *n = msg->entry_points.first; n != 0; n = n->next)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user