aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/hrc/core.py
diff options
context:
space:
mode:
Diffstat (limited to 'hrc/core.py')
-rw-r--r--hrc/core.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/hrc/core.py b/hrc/core.py
index cb8da6e..0e124e3 100644
--- a/hrc/core.py
+++ b/hrc/core.py
@@ -180,8 +180,8 @@ class Core:
await hot_reload_task
finally:
for _rule in self.rules:
- for rule_shutdown_hook_func in self._rule_shutdown_hooks:
- await rule_shutdown_hook_func(_rule)
+ for rule_disable_hook_func in self._rule_disable_hooks:
+ await rule_disable_hook_func(_rule)
await _rule.disable()
while self._rule_tasks: