[vte/vte-0-52] widget: Prevent clipboard callbacks during destruction
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vte/vte-0-52] widget: Prevent clipboard callbacks during destruction
- Date: Mon, 8 Apr 2019 21:13:10 +0000 (UTC)
commit 864715c5f05f1ba2eb86ab6864875d5f234b97ca
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 5da83140..8c881803 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -8492,6 +8492,9 @@ VteTerminalPrivate::widget_screen_changed (GdkScreen *previous_screen)
VteTerminalPrivate::~VteTerminalPrivate()
{
+ /* 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]