Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

The stop as well

  • Loading branch information...
commit 11e310831da0fc459e785e0be5a5a176ba4bdf2a 1 parent 85cdf4b
Gianfranco Alongi authored
View
3  Three/Solution/rebar.config
@@ -1 +1,2 @@
-{cover_enabled,true}.
+{cover_enabled,true}.
+{eunit_opts,[verbose]}.
View
3  Three/Solution/src/pubsub_pipes.erl
@@ -39,6 +39,9 @@ get_pipes() ->
init([]) ->
{ok, #state{pipes = ets:new(pipes,[bag])}}.
+handle_call(stop,_From,State) ->
+ {stop,ok,State};
+
handle_call({create_pipe,PipeName}, _From, State) ->
ets:insert_new(State#state.pipes,{PipeName,[]}),
{reply, ok, State};
Please sign in to comment.
Something went wrong with that request. Please try again.