couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [22/35] git commit: Fix use of non-existant APIs
Date Fri, 01 Aug 2014 09:10:18 GMT
Fix use of non-existant APIs

I must've been thinking I was going to add a stop function at some point
in the future. Rather than do that I just used the cast I added
previously.


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-event/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-event/commit/7d5c7e1a
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-event/tree/7d5c7e1a
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-event/diff/7d5c7e1a

Branch: refs/heads/windsor-merge
Commit: 7d5c7e1af8b47bbc163c91d0ea0d1f3ae0f1f46e
Parents: ed82171
Author: Paul J. Davis <paul.joseph.davis@gmail.com>
Authored: Wed Apr 24 14:17:30 2013 -0500
Committer: Robert Newson <rnewson@apache.org>
Committed: Wed Jul 30 17:42:21 2014 +0100

----------------------------------------------------------------------
 src/couch_event_listener_mfa.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-event/blob/7d5c7e1a/src/couch_event_listener_mfa.erl
----------------------------------------------------------------------
diff --git a/src/couch_event_listener_mfa.erl b/src/couch_event_listener_mfa.erl
index 7b13604..52fd389 100644
--- a/src/couch_event_listener_mfa.erl
+++ b/src/couch_event_listener_mfa.erl
@@ -52,7 +52,7 @@ enter_loop(Mod, Func, State, Options) ->
 
 
 stop(Pid) ->
-    couch_event_listener:stop(Pid).
+    couch_event_listener:cast(Pid, shutown).
 
 
 init({Parent, Mod, Func, State}) ->


Mime
View raw message