Chanjung Kim

Results 59 comments of Chanjung Kim

I don't have a minimal example, but this also happens on iOS, both by wgpu 0.19 and 0.20. Downgrading wgpu to 0.18 solved the issue. On the other hand, this...

Changing `usvg::parser::text::collect_text_chunks_impl` as follows fixes this problem, with all unit tests passed. Parameters `pos_list` of `collect_text_chunks` and `collect_text_chunks_impl` is also changed from `&[CharacterPosition]` to `&mut [CharacterPosition]`. ```rust // TODO: what...

I haven't checked it, but I suspect that Disposable implementations are not even generated for records containing an external record that contains an interface.

Thanks for the reply! Here's the reproduction you requested: https://github.com/paxbun/uniffi-rs/tree/test/kotlin-memory-leak-issue-reproduction I modified the `proc-macro-lib` fixture, and although `RecordContainingInterface2` contains `UniffiOneRecordContainingInterface` containing `Arc`, `RecordContainingInterface2.destroy` is not generated. ![Image](https://github.com/user-attachments/assets/88dd7bfb-3964-419b-8f9c-d12fc44d72e0) So while the...

> We try do to that [here](https://github.com/mozilla/uniffi-rs/blob/84619f51d73f67187c8cf4a535db776cdee540ef/uniffi_bindgen/src/bindings/kotlin/templates/RecordTemplate.kt#L15) - we should find the objects in a list, so I think the generated record probably has that? I don't know anything about...

The first one is another error. That shows that RustArcPtrs in lists or maps are not destroyed. The link is a reproduction of another error, which shows that .destroy() is...

@bendk Would it be better to create another issue to discuss the first issue? Sorry for side-tracking the discussion 😢

@douba0 I don't know the exact reason, but if `run.sh` works well while `svc.sh` does not, setting `SessionCreate` to `false` in `bin/actions.runner.plist.template` like the following may be a solution. ```xml...

@rettinghaus Thanks for letting me know! I could have read the toolkit options documentation again. I've also found the exact part controlling this (`Octave::GetOctaveGlyph`). It feels like the whole point...

We have a WASM example here that demonstrates WASM transformations required to implement the FFI logic of UniFFI: https://github.com/gobley/gobley/blob/536fd52d1209c1ab09da54187db2484297e071b4/tests/gradle/js-only/src/jsMain/kotlin/RustLibrary.kt