mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +01:00
Prevent moving CanGc values between threads/tasks (#33902)
* Make CanGc non-sendable, and add documentation. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Update CanGc usage to fix usages that were moved between threads/tasks. Signed-off-by: Josh Matthews <josh@joshmatthews.net> --------- Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
a58da5aa83
commit
b85093ad74
10 changed files with 69 additions and 89 deletions
|
@ -232,7 +232,6 @@ impl WorkerMethods for Worker {
|
|||
global.wgpu_id_hub(),
|
||||
control_receiver,
|
||||
context_sender,
|
||||
can_gc,
|
||||
);
|
||||
|
||||
let context = context_receiver
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue