pub type WeakDesktopContext = Weak<DesktopService>;Expand description
A weak handle to the DesktopService to ensure safe passing.
The problem without this is that the tao window is never dropped and therefore cannot be closed.
This was due to the Rc that had still references because of multiple copies when creating a webview.
Aliased Typeยง
pub struct WeakDesktopContext { /* private fields */ }