[2023-04-24] GUI Team Demo Day #6393
Replies: 7 comments 1 reply
-
Added a method to WASM file which drops all structures. All resources are freed, the visuals disappears and connections are closed. While implementing I fixed leaks in several places (not noticed before, because we actually never dropped Graph Editor). I fixed them, and left in the codebase helper structures for tracking leaks. For example, if I see my FRP network is leaking (with all stuff captured), I may add #[derive(Clone, CloneRef, Debug)]
pub struct Network {
data: Rc<NetworkData>,
pub trace: leak_detector::Trace,
} Then we enable a concrete network we want to check: frp.network().trace.enable(); In drop function we have a code checking if any #[wasm_bindgen]
pub fn drop() {
IDE.with(RefCell::take);
EXECUTOR.with(RefCell::take);
leak_detector::TRACKED_OBJECTS.with(|objects| {
let objects = objects.borrow();
if !objects.is_empty() {
error!("Tracked objects leaked after dropping entire application!");
error!("Leaked objects: {objects:#?}");
}
})
} |
Beta Was this translation helpful? Give feedback.
-
Engine performance:
|
Beta Was this translation helpful? Give feedback.
-
Last week:
Read-only mode forbids certain actions in the GUI: 2023-04-18.18-23-23.mp4 |
Beta Was this translation helpful? Give feedback.
-
Completed:
Current:
Next:
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
spinner3.mp4
space3.mp4 |
Beta Was this translation helpful? Give feedback.
-
Continued work on widgets on nodes. The PR has been reviewed and I'm in process of fixing requested changes.
|
Beta Was this translation helpful? Give feedback.
-
Last week I implemented several things:
Screen.Recording.2023-04-24.at.13.36.51.mov
I discovered that our slider widget has bugs and does not use modern EnsoGL functionality. I updated it to test the List Editor interaction with widgets. The one thing missing from List Editor is proper passing events to sub-widgets, like sliders. I will finish fixing slider and finishing this events handling in List Editor the next day (I'm almost there).
I fixed several small bugs in the application and I also spent a lot of time with different people on solving issues / planning the work.
Beta Was this translation helpful? Give feedback.
All reactions