From e91c845de552f8192895547665adccf685ce8206 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Sat, 12 Dec 2020 16:13:19 -0800 Subject: [PATCH] ircd::ctx: Minor move misplaced comment. [ci skip] ircd::m::acquire: Remove stale comment. [ci skip] --- include/ircd/ctx/continuation.h | 3 ++- matrix/acquire.cc | 4 ---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/include/ircd/ctx/continuation.h b/include/ircd/ctx/continuation.h index eba4ea8e7..980d037bc 100644 --- a/include/ircd/ctx/continuation.h +++ b/include/ircd/ctx/continuation.h @@ -108,10 +108,11 @@ ircd::ctx::continuation::continuation(const predicate &pred, ircd::ctx::current } { + leave(); + // Run the provided routine which performs the actual context switch. // Everything happening in this closure is no longer considered part // of this context, but it is technically operating on this stack. - leave(); std::exception_ptr eptr; try { closure(static_cast(*this)); diff --git a/matrix/acquire.cc b/matrix/acquire.cc index 7ba07f79e..5e4412f17 100644 --- a/matrix/acquire.cc +++ b/matrix/acquire.cc @@ -26,10 +26,6 @@ ircd::util::instance_list::list allocator }; -// -// execute::execute -// - ircd::m::acquire::acquire::acquire(const struct opts &opts) :opts{opts} ,head_vmopts{opts.vmopts}