Skip to content

Commit

Permalink
Update process.cr
Browse files Browse the repository at this point in the history
  • Loading branch information
HertzDevil authored Oct 27, 2023
1 parent dc08053 commit a71e6f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crystal/system/win32/process.cr
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ struct Crystal::System::Process
# stuck forever in that case?
# (https://learn.microsoft.com/en-us/windows/win32/api/winnt/ns-winnt-jobobject_associate_completion_port)
@completion_key.fiber = ::Fiber.current
sleep
Crystal::Scheduler.reschedule

# If the IOCP notification is delivered before the process fully exits,
# wait for it
Expand Down

0 comments on commit a71e6f4

Please sign in to comment.