From b420841f9d0f4406f6e0a775896f67118243a903 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Mon, 1 Feb 2021 12:23:37 +0100 Subject: [PATCH] no clipboard content bug. --- internal/websocket/manager.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/websocket/manager.go b/internal/websocket/manager.go index c764f73b..a90c7720 100644 --- a/internal/websocket/manager.go +++ b/internal/websocket/manager.go @@ -120,6 +120,7 @@ func (ws *WebSocketManagerCtx) Start() { data, err := ws.desktop.ClipboardGetText() if err != nil { ws.logger.Warn().Err(err).Msg("could not get clipboard content") + return } if err := session.Send(message.ClipboardData{