Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F1267
0001-Fixed-a-dangling-pointer.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
khlebnikov
Aug 25 2015, 9:26 PM
2015-08-25 21:26:51 (UTC+2)
Size
832 B
Referenced Files
None
Subscribers
None
0001-Fixed-a-dangling-pointer.patch
View Options
From af88a621ea16127fbd6f51cd24d387c9fe38a1cb Mon Sep 17 00:00:00 2001
From: Rostislav Khlebnikov <r.khlebnikov@gmail.com>
Date: Tue, 25 Aug 2015 20:24:48 +0100
Subject: [PATCH] Fixed a dangling pointer
---
Plugins/org.blueberry.ui.qt/src/internal/berryQtShell.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/Plugins/org.blueberry.ui.qt/src/internal/berryQtShell.cpp b/Plugins/org.blueberry.ui.qt/src/internal/berryQtShell.cpp
index f1e6798..17a7e10 100755
--- a/Plugins/org.blueberry.ui.qt/src/internal/berryQtShell.cpp
+++ b/Plugins/org.blueberry.ui.qt/src/internal/berryQtShell.cpp
@@ -54,6 +54,7 @@ QtShell::QtShell(QWidget* parent, Qt::WindowFlags flags)
QtShell::~QtShell()
{
+ widget->setProperty("shell", QVariant::fromValue(static_cast<Shell*>(nullptr)));
widget->deleteLater();
}
--
1.8.4.msysgit.0
File Metadata
Details
Attached
Mime Type
text/plain
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1226
Default Alt Text
0001-Fixed-a-dangling-pointer.patch (832 B)
Attached To
Mode
T19268: Workbench crash on close
Attached
Detach File
Event Timeline
khlebnikov
added a comment.
Aug 25 2015, 9:26 PM
2015-08-25 21:26:51 (UTC+2)
Comment Actions
Dangling pointer fix
Log In to Comment