diff --git a/src/runtime2/component/component_random.rs b/src/runtime2/component/component_random.rs index 1e68695ba53e3d240857ae240639883b216ea05b..dce5d709a86cf6b0e73d63bef292113aa38f691c 100644 --- a/src/runtime2/component/component_random.rs +++ b/src/runtime2/component/component_random.rs @@ -27,8 +27,9 @@ pub struct ComponentRandomU32 { } impl Component for ComponentRandomU32 { - fn on_creation(&mut self, _id: CompId, _sched_ctx: &SchedulerCtx) { - } + fn on_creation(&mut self, _id: CompId, _sched_ctx: &SchedulerCtx) {} + + fn on_shutdown(&mut self, sched_ctx: &SchedulerCtx) {} fn adopt_message(&mut self, _comp_ctx: &mut CompCtx, _message: DataMessage) { // Impossible since this component does not have any input ports in its