[vte/vte-0-54] widget: Prevent clipboard callbacks during destruction
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/vte-0-54] widget: Prevent clipboard callbacks during destruction
- Date: Mon, 8 Apr 2019 21:09:22 +0000 (UTC)
commit b183c359fa1f54a8c7c73a60ba508c9bba484d9b
Author: Christian Persch <chpe src gnome org>
Date: Sun Mar 3 22:15:26 2019 +0100
widget: Prevent clipboard callbacks during destruction
https://gitlab.gnome.org/GNOME/vte/issues/89
(cherry picked from commit 3ab488b30283bca9f797965a9ff1ace8f56b0d32)
src/vte.cc | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/vte.cc b/src/vte.cc
index 1bebc073..e7b9ceee 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -8321,6 +8321,9 @@ Terminal::set_blink_settings(bool blink,
Terminal::~Terminal()
{
+ /* Make sure not to change selection while in destruction. See issue vte#89. */
+ m_changing_selection = true;
+
struct vte_match_regex *regex;
int sel;
guint i;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]