summaryrefslogtreecommitdiffstats
path: root/src/lib/Component.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Component.py')
-rw-r--r--src/lib/Component.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Component.py b/src/lib/Component.py
index 9cdf23b9d..2a3ef20e1 100644
--- a/src/lib/Component.py
+++ b/src/lib/Component.py
@@ -76,6 +76,7 @@ def run_component(component_cls, location, daemon, pidfile_name, to_file,
server.serve_forever()
finally:
server.server_close()
+ component.shutdown()
def exposed(func):
"""Mark a method to be exposed publically.