]> granicus.if.org Git - ejabberd/commit
Catch potential exceptions in gen_mod:wait_for_process
authorPaweł Chmielowski <pchmielowski@process-one.net>
Wed, 24 Apr 2019 11:46:09 +0000 (13:46 +0200)
committerPaweł Chmielowski <pchmielowski@process-one.net>
Wed, 24 Apr 2019 11:46:16 +0000 (13:46 +0200)
commit8b501f5fe674e8db217c7f72c374ca60494658bc
treee8d0fcc4ba4afee23e4960aac32b3e72d05b97cd
parentfc043dd8cf3babd1f0bfec3ba15b6ae496a9b593
Catch potential exceptions in gen_mod:wait_for_process

Seems that at ejabberd shutdown, process may terminate before that function
is called, and in that case erlang:monitor throws exception.
src/gen_mod.erl