aboutsummaryrefslogtreecommitdiffstats
path: root/test/handlers/switch_protocol_flush_h.erl
diff options
context:
space:
mode:
Diffstat (limited to 'test/handlers/switch_protocol_flush_h.erl')
-rw-r--r--test/handlers/switch_protocol_flush_h.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/handlers/switch_protocol_flush_h.erl b/test/handlers/switch_protocol_flush_h.erl
index 3d525ee..1b06df2 100644
--- a/test/handlers/switch_protocol_flush_h.erl
+++ b/test/handlers/switch_protocol_flush_h.erl
@@ -27,6 +27,8 @@ info(_, _, State) ->
terminate(_, _, _) ->
ok.
+%% @todo It would be good if we could allow this function to return normally.
+-spec takeover(_, _, _, _, _, _, _) -> no_return().
takeover(_, _, _, _, _, _, Pid) ->
Msgs = receive_all([]),
Pid ! {Pid, Msgs},