You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This won't work as expected. The inner assignment to task won't have any effect, since at that point we will have returned the previous task already.
What we need to do is to propagate a cancel to the top-level task to subtasks somehow. I don't know if there's some way of doing this or we'll have to implement it ourselves.
Oh, you're right. I think we have something like that in the Auth request. It's changing the local variable only. Well, we can use pointer to pointer and change the outside one but we need to be careful to not create leaks over the codebase.
At some points, we're doing the equivalent of this (pseudo-Swift):
This won't work as expected. The inner assignment to
task
won't have any effect, since at that point we will have returned the previoustask
already.What we need to do is to propagate a cancel to the top-level task to subtasks somehow. I don't know if there's some way of doing this or we'll have to implement it ourselves.
┆Issue is synchronized with this Jira Bug by Unito
The text was updated successfully, but these errors were encountered: