y-crdt / ydotnet

.NET bindings for yrs.
MIT License
29 stars 9 forks source link

Fix memory leak when reading guid #79

Closed SebastianStehle closed 5 months ago

SebastianStehle commented 6 months ago

According to the lib.rs, we need to destroy the strings.

https://github.com/y-crdt/y-crdt/blob/main/yffi/src/lib.rs#L425

I think we should also convert the guid to from string to guid. It is a weird API design.