MCPcopy Create free account
hub / github.com/algoscienceacademy/RustUI / cleanup_platform

Method cleanup_platform

src/dev_server.rs:569–578  ·  view source on GitHub ↗
(&mut self, platform: Platform)

Source from the content-addressed store, hash-verified

567 }
568
569 fn cleanup_platform(&mut self, platform: Platform) {
570 self.simulator_windows.retain_mut(|window| {
571 if window.platform == platform {
572 window.kill_process();
573 false
574 } else {
575 true
576 }
577 });
578 }
579
580 pub fn get_status(&self) -> BuildStatus {
581 self.status.lock().unwrap().clone()

Callers 1

start_desktop_buildMethod · 0.80

Calls 1

kill_processMethod · 0.80

Tested by

no test coverage detected