Skip to content

Commit

Permalink
Nospecialize close(c::Channel, excp::Exception) on excp. (JuliaLang#4…
Browse files Browse the repository at this point in the history
…9508) (#13)

* Nospecialize close(c::Channel, excp::Exception) on excp.

Fixes JuliaLang#49507.

Avoids dynamic dispatch when closing a Channel with an Exception, and
should avoid a call into the runtime for julia compilation when
attempting to report an exception.

* Add test for this case.
  • Loading branch information
NHDaly authored Jun 7, 2023
1 parent 8ec0de1 commit c75a235
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit c75a235

Please sign in to comment.