Explicitly destroy static Glib::RefPtr<>
s on exit (fixes #3636)
This commit is contained in:
@@ -581,6 +581,15 @@ void MyExpander::init()
|
||||
}
|
||||
}
|
||||
|
||||
void MyExpander::cleanup()
|
||||
{
|
||||
inconsistentImage.reset();
|
||||
enabledImage.reset();
|
||||
disabledImage.reset();
|
||||
openedImage.reset();
|
||||
closedImage.reset();
|
||||
}
|
||||
|
||||
MyExpander::MyExpander(bool useEnabled, Gtk::Widget* titleWidget) :
|
||||
enabled(false), inconsistent(false), flushEvent(false), expBox(nullptr),
|
||||
child(nullptr), headerWidget(nullptr), statusImage(nullptr),
|
||||
|
Reference in New Issue
Block a user