Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upRevisit the lifetime management of embedder shared objects #26851
Labels
Comments
|
To consider: using the devtools protocol instead of using a low level API. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#26793 introduced allocated memory that is released on
perform_udpate. It's not a great way to handle object lifetime.We should have a more elegant way to handle the lifetime of objects shared between servo and the embedder.
See
servo/ports/libsimpleservo/capi/src/lib.rs
Line 542 in 60ee588