fix(core): clean up runtime extensions before deployer teardown

This commit is contained in:
andrussal 2026-04-11 10:39:45 +02:00
parent d79712dd16
commit e4dbb8bb85

View File

@ -226,7 +226,7 @@ impl<E: Application> RuntimeAssembly<E> {
mut self,
cleanup_guard: Option<Box<dyn CleanupGuard>>,
) -> super::Runner<E> {
let cleanup_guard = chain_cleanup_guards(self.cleanup_guard.take(), cleanup_guard);
let cleanup_guard = chain_cleanup_guards(cleanup_guard, self.cleanup_guard.take());
super::Runner::new(self.build_context(), cleanup_guard)
}
}