win, clipboard debug
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
parent
c5698df3aa
commit
681fd736c9
@ -326,6 +326,17 @@ impl<T: InvokeUiCM> IpcTaskRunner<T> {
|
|||||||
(_tx_clip, rx_clip) = unbounded_channel::<i32>();
|
(_tx_clip, rx_clip) = unbounded_channel::<i32>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(windows)]
|
||||||
|
{
|
||||||
|
if ContextSend::is_server_enabled() {
|
||||||
|
allow_err!(
|
||||||
|
self.stream
|
||||||
|
.send(&Data::ClipboardFile(clipboard::ClipboardFile::MonitorReady))
|
||||||
|
.await
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
self.running = false;
|
self.running = false;
|
||||||
loop {
|
loop {
|
||||||
tokio::select! {
|
tokio::select! {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user