-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set ETS table heir, so ext_mod process inherits the table
An ETS table is automatically destroyed when its parent process dies. When mod_cron is installed using the module_install command, the calling process dies immediately, and ETS table gets destroyed. That problem didn't appear when the module is already installed and configured when ejabberd starts: in that case the calling process is ext_mod, which is always alive.
- Loading branch information
Showing
2 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters