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

Method cleanup

src/dev_server.rs:374–380  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

372 }
373
374 fn cleanup(&mut self) {
375 if let Some(handle) = self.file_watcher_thread.take() {
376 drop(self.watcher.take());
377 drop(self.watcher_tx.take());
378 let _ = handle.join();
379 }
380 }
381
382 pub fn set_platform(&mut self, platform: Platform) {
383 self.target_platform = platform;

Callers 1

dropMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected