Skip to content

Commit

Permalink
Fix code example for Process.on_terminate (crystal-lang#14798)
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp-classen authored and kojix2 committed Jul 9, 2024
1 parent 01d4c20 commit a481591
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/process.cr
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class Process
# end
# end
#
# wait_channel.receive
# wait_channel.receive?
# puts "bye"
# ```
def self.on_terminate(&handler : ::Process::ExitReason ->) : Nil
Expand Down

0 comments on commit a481591

Please sign in to comment.