Update sample web-client
#367
Unanswered
AiyionPrime
asked this question in
Q&A
Replies: 1 comment 5 replies
-
|
Hm. It's quite unpleasant isn't it, I don't see an easy way to fix this, though I don't see how this didn't happen before my changes as well, there has always been a blocking runtime. It doesn't actually seem like any uses of |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
@einarmo I drafted an update of actix in the sample web-server in vorausrobotik@bc2ec95.
Currently this serves the webpage properly, but crashes upon connection through a websocket, as the
rt.block_oncalls are forbidden in the thread which handles async tasks.spawning a thread appears to not be that easy either, as
ctxis&mutwhich cannot be sent through threads.Do you have an idea for a different approach?
The draft @antiblue referenced in #271 is older than your additions, I think.
Beta Was this translation helpful? Give feedback.
All reactions