misc(scheme/user): unblock the process *after* setting the state

Signed-off-by: Anhad Singh <andypython@protonmail.com>
This commit is contained in:
Anhad Singh
2025-11-27 16:21:03 +11:00
parent 4ff82ad8b5
commit b2c9e5defd
+1 -1
View File
@@ -1186,8 +1186,8 @@ impl UserInner {
match context.upgrade() {
Some(context) => {
context.write(token.token()).unblock();
*o = State::Responded(response);
context.write(token.token()).unblock();
}
_ => {
states.remove(tag as usize);