win, clipboard debug

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou 2023-06-19 19:42:02 +08:00
parent c5698df3aa
commit 681fd736c9

View File

@ -326,6 +326,17 @@ impl<T: InvokeUiCM> IpcTaskRunner<T> {
(_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;
loop {
tokio::select! {