summaryrefslogtreecommitdiff
path: root/src/stringprep
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/stringprep/stringprep.erl5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/stringprep/stringprep.erl b/src/stringprep/stringprep.erl
index 981dcdf6..50d82cd6 100644
--- a/src/stringprep/stringprep.erl
+++ b/src/stringprep/stringprep.erl
@@ -57,11 +57,10 @@ handle_call(_, _, State) ->
handle_cast(_, State) ->
{noreply, State}.
+handle_info({'EXIT', Port, Reason}, Port) ->
+ {stop, {port_died, Reason}, Port};
handle_info({'EXIT', _Pid, _Reason}, Port) ->
{noreply, Port};
-%% TODO: Check if this clase is correct: it never matches:
-%%handle_info({'EXIT', Port, Reason}, Port) ->
-%% {stop, {port_died, Reason}, Port};
handle_info(_, State) ->
{noreply, State}.