You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Warning: This method should not be used on the main thread! Otherwise the underlying libraries may deadlock on Linux, freezing the whole app, when trying to copy data copied from this app, for example if the user copies text from the WebView.
51
62
pubfnread_text(&self) -> crate::Result<String>{
52
63
match&self.clipboard{
53
64
Ok(clipboard) => {
54
-
let text = clipboard.lock().unwrap().get_text()?;
65
+
let text = clipboard.lock().unwrap().as_mut().unwrap().get_text()?;
/// Warning: This method should not be used on the main thread! Otherwise the underlying libraries may deadlock on Linux, freezing the whole app, when trying to copy data copied from this app, for example if the user copies text from the WebView.
0 commit comments