misc(scheme/user): unblock the process *after* setting the state
Signed-off-by: Anhad Singh <andypython@protonmail.com>
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user