We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b326fe1 commit 674f4a2Copy full SHA for 674f4a2
lib/elixir/lib/kernel/error_handler.ex
@@ -25,10 +25,10 @@ defmodule Kernel.ErrorHandler do
25
{ ^ref, :ready } ->
26
:ok
27
{ ^ref, :release } ->
28
- # On release, get rid of the compiler pid,
29
- # no further allow elixir_ensure_compiled directives
30
- # and revert to the original error handler.
31
- :erlang.erase(:elixir_compiler_pid)
+ # On release, no further allow elixir_ensure_compiled
+ # directives and revert to the original error handler.
+ # Note we should not delete the elixir_compiler_pid though,
+ # as we still want to send notifications to the compiler.
32
:erlang.erase(:elixir_ensure_compiled)
33
:erlang.process_flag(:error_handler, :error_handler)
34
end
0 commit comments