Fix a crash during disconnection
Resolves: RHEL-30212
This commit is contained in:
parent
4ff6d58150
commit
d80fef6b31
31
0001-clipboard-Do-not-crash-during-disconnection.patch
Normal file
31
0001-clipboard-Do-not-crash-during-disconnection.patch
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
From cb992cb5b3099fdb4106d558f1aeba908267a075 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Marek Kasik <mkasik@redhat.com>
|
||||||
|
Date: Tue, 9 Apr 2024 11:01:01 +0200
|
||||||
|
Subject: [PATCH] clipboard: Do not crash during disconnection
|
||||||
|
|
||||||
|
Disconnect handler of "owner-change" in finalize of
|
||||||
|
FrdpChannelClipboard so that the handler is not called
|
||||||
|
after the clipboard is finalized.
|
||||||
|
|
||||||
|
Fixes #50
|
||||||
|
---
|
||||||
|
src/frdp-channel-clipboard.c | 3 +++
|
||||||
|
1 file changed, 3 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/src/frdp-channel-clipboard.c b/src/frdp-channel-clipboard.c
|
||||||
|
index 2723c2d..ef82dbe 100644
|
||||||
|
--- a/subprojects/gtk-frdp/src/frdp-channel-clipboard.c
|
||||||
|
+++ b/subprojects/gtk-frdp/src/frdp-channel-clipboard.c
|
||||||
|
@@ -203,6 +203,9 @@ frdp_channel_clipboard_finalize (GObject *object)
|
||||||
|
FrdpChannelClipboard *self = (FrdpChannelClipboard *) object;
|
||||||
|
FrdpChannelClipboardPrivate *priv = frdp_channel_clipboard_get_instance_private (self);
|
||||||
|
|
||||||
|
+ g_signal_handler_disconnect (priv->gtk_clipboard,
|
||||||
|
+ priv->clipboard_owner_changed_id);
|
||||||
|
+
|
||||||
|
g_hash_table_unref (priv->remote_files_requests);
|
||||||
|
fuse_session_unmount (priv->fuse_session);
|
||||||
|
fuse_session_exit (priv->fuse_session);
|
||||||
|
--
|
||||||
|
2.44.0
|
||||||
|
|
@ -7,12 +7,13 @@
|
|||||||
|
|
||||||
Name: gnome-connections
|
Name: gnome-connections
|
||||||
Version: 46.0
|
Version: 46.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A remote desktop client for the GNOME desktop environment
|
Summary: A remote desktop client for the GNOME desktop environment
|
||||||
|
|
||||||
License: GPL-3.0-or-later
|
License: GPL-3.0-or-later
|
||||||
URL: https://gitlab.gnome.org/gnome/connections/-/wikis/home
|
URL: https://gitlab.gnome.org/gnome/connections/-/wikis/home
|
||||||
Source0: https://download.gnome.org/sources/gnome-connections/%{url_ver}/gnome-connections-%{tarball_version}.tar.xz
|
Source0: https://download.gnome.org/sources/gnome-connections/%{url_ver}/gnome-connections-%{tarball_version}.tar.xz
|
||||||
|
Patch0: 0001-clipboard-Do-not-crash-during-disconnection.patch
|
||||||
|
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
@ -83,6 +84,10 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/org.gnome.Connections
|
|||||||
%{_datadir}/mime/packages/org.gnome.Connections.xml
|
%{_datadir}/mime/packages/org.gnome.Connections.xml
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed May 15 2024 Marek Kasik <mkasik@redhat.com> - 46.0-2
|
||||||
|
- Fix a crash during disconnection
|
||||||
|
- Resolves: RHEL-30212
|
||||||
|
|
||||||
* Thu Mar 21 2024 Marek Kasik <mkasik@redhat.com> - 46.0-1
|
* Thu Mar 21 2024 Marek Kasik <mkasik@redhat.com> - 46.0-1
|
||||||
- Update to 46.0
|
- Update to 46.0
|
||||||
- Use FreeRDP 3
|
- Use FreeRDP 3
|
||||||
|
Loading…
Reference in New Issue
Block a user