Add cleanup step

This commit is contained in:
Simon MacMullen 2014-06-10 16:48:42 +01:00
parent e043bb4abb
commit 202c9f086a
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,8 @@
-rabbit_boot_step({rabbit_mgmt_db_handler,
[{description, "management agent"},
{mfa, {?MODULE, add_handler, []}},
{cleanup, {gen_event, delete_handler,
[rabbit_event, ?MODULE, []]}},
{requires, rabbit_event},
{enables, recovery}]}).