diff options
author | iilyak <iilyak@ca.ibm.com> | 2017-08-21 06:45:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-21 06:45:11 -0700 |
commit | 7ab4f911b25a465cfe96097064c8e2b21f711239 (patch) | |
tree | ce1e5c578eb2071d6b10e6d9665a8cc21eb8ad2f | |
parent | d46e3ee992a7f9ab76cdb3dd23f6abf2e91c079d (diff) | |
parent | 50afcce24b9b94c05f3ca7d8c30273fdac11f0eb (diff) | |
download | couchdb-7ab4f911b25a465cfe96097064c8e2b21f711239.tar.gz |
Merge pull request #762 from cloudant/allow-code-upgrade-for-rexi_monitor
Use fully qualified call to allow code upgrade
-rw-r--r-- | src/rexi/src/rexi_monitor.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rexi/src/rexi_monitor.erl b/src/rexi/src/rexi_monitor.erl index da6dcf533..f90ec5160 100644 --- a/src/rexi/src/rexi_monitor.erl +++ b/src/rexi/src/rexi_monitor.erl @@ -12,6 +12,7 @@ -module(rexi_monitor). -export([start/1, stop/1]). +-export([wait_monitors/1]). %% @doc spawn_links a process which monitors the supplied list of items and @@ -51,7 +52,7 @@ wait_monitors(Parent) -> receive {'DOWN', _, process, Pid, Reason} -> notify_parent(Parent, Pid, Reason), - wait_monitors(Parent); + ?MODULE:wait_monitors(Parent); {Parent, shutdown} -> ok end. |