Solving issue 2619: "RawTherapee crashes with SIGSEGV, Segmentation fault when closed"
This commit is contained in:
@@ -69,7 +69,7 @@ FilePanel::FilePanel () : parent(NULL) {
|
|||||||
rightBox = Gtk::manage ( new Gtk::HBox () );
|
rightBox = Gtk::manage ( new Gtk::HBox () );
|
||||||
rightBox->set_size_request(50,100);
|
rightBox->set_size_request(50,100);
|
||||||
rightNotebook = Gtk::manage ( new Gtk::Notebook () );
|
rightNotebook = Gtk::manage ( new Gtk::Notebook () );
|
||||||
rightNotebook->signal_switch_page().connect_notify( sigc::mem_fun(*this, &FilePanel::on_NB_switch_page) );
|
rightNotebookSwitchConn = rightNotebook->signal_switch_page().connect_notify( sigc::mem_fun(*this, &FilePanel::on_NB_switch_page) );
|
||||||
//Gtk::VBox* taggingBox = Gtk::manage ( new Gtk::VBox () );
|
//Gtk::VBox* taggingBox = Gtk::manage ( new Gtk::VBox () );
|
||||||
|
|
||||||
history = Gtk::manage ( new History (false) );
|
history = Gtk::manage ( new History (false) );
|
||||||
@@ -134,6 +134,7 @@ FilePanel::FilePanel () : parent(NULL) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
FilePanel::~FilePanel () {
|
FilePanel::~FilePanel () {
|
||||||
|
rightNotebookSwitchConn.disconnect();
|
||||||
if (inspectorPanel)
|
if (inspectorPanel)
|
||||||
delete inspectorPanel;
|
delete inspectorPanel;
|
||||||
}
|
}
|
||||||
|
@@ -51,6 +51,7 @@ class FilePanel : public Gtk::HPaned,
|
|||||||
//FilterPanel* filterPanel;
|
//FilterPanel* filterPanel;
|
||||||
RTWindow* parent;
|
RTWindow* parent;
|
||||||
Gtk::Notebook* rightNotebook;
|
Gtk::Notebook* rightNotebook;
|
||||||
|
sigc::connection rightNotebookSwitchConn;
|
||||||
|
|
||||||
struct pendingLoad {
|
struct pendingLoad {
|
||||||
bool complete;
|
bool complete;
|
||||||
|
Reference in New Issue
Block a user