When passing an Rc into a gtk callback it causes the Rust struct to be kept in memory even if the gtk+ wiget was dropped. Should have been using Weak refferences all along. |
||
|---|---|---|
| .. | ||
| resources | ||
| src | ||
| build.rs | ||
| Cargo.toml | ||
When passing an Rc into a gtk callback it causes the Rust struct to be kept in memory even if the gtk+ wiget was dropped. Should have been using Weak refferences all along. |
||
|---|---|---|
| .. | ||
| resources | ||
| src | ||
| build.rs | ||
| Cargo.toml | ||