gajim-plural/gajim
Philipp Hörist 0eca29d484 Fix memory leak in plugins window
- remove gui extension point on close, to remove the reference the plugin manager holds to the Class.

- reduce scope of var that holds reference to Gtk.Builder(). We have to be careful with
Gtk.Builder, because it can hold a reference to our Class (methods bound to signals) which creates a reference cycle
which python is not able to detect. Hence neither Gtk.Builder nor our Class are garbage collected.
Why this is not detected as a reference cylce is unclear at the moment.

There are two approaches to circumvent the problem:

1. we lose our reference to Gtk.Builder when closing the window, which lets python garbage
collect the builder, afterwards it can garbage collect our class.

2. we reduce the scope of the var that holds a reference to Gtk.Builder, so that the builder
can be garbage collected at the end of __init__.

I chose to reduce the scope because the builder is not needed class wide.
2017-07-10 01:15:30 +02:00
..
command_system Rename src directory 2017-07-02 17:25:47 +02:00
common Make noto-emoticons the default theme 2017-07-02 21:30:21 +02:00
plugins Fix memory leak in plugins window 2017-07-10 01:15:30 +02:00
Makefile.am Rename src directory 2017-07-02 17:25:47 +02:00
adhoc_commands.py Rename src directory 2017-07-02 17:25:47 +02:00
advanced_configuration_window.py Rename src directory 2017-07-02 17:25:47 +02:00
app_actions.py Rename src directory 2017-07-02 17:25:47 +02:00
atom_window.py Rename src directory 2017-07-02 17:25:47 +02:00
cell_renderer_image.py Rename src directory 2017-07-02 17:25:47 +02:00
chat_control.py Rework emoticon menu 2017-07-02 21:27:44 +02:00
chat_control_base.py Rework emoticon menu 2017-07-02 21:27:44 +02:00
config.py Rework emoticon menu 2017-07-02 21:27:44 +02:00
conversation_textview.py Fix displaying links in textview 2017-07-04 12:26:05 +02:00
dataforms_widget.py Rename src directory 2017-07-02 17:25:47 +02:00
dialogs.py Rename src directory 2017-07-02 17:25:47 +02:00
disco.py Rename src directory 2017-07-02 17:25:47 +02:00
emoticons.py Fix emoticons module import on windows 2017-07-03 11:32:47 +02:00
features_window.py Rename src directory 2017-07-02 17:25:47 +02:00
filetransfers_window.py Rename src directory 2017-07-02 17:25:47 +02:00
gajim-remote.py Rename src directory 2017-07-02 17:25:47 +02:00
gajim.py Rename src directory 2017-07-02 17:25:47 +02:00
gajim_themes_window.py Rename src directory 2017-07-02 17:25:47 +02:00
groupchat_control.py Rework emoticon menu 2017-07-02 21:27:44 +02:00
groups.py Rename src directory 2017-07-02 17:25:47 +02:00
gtkexcepthook.py Rename src directory 2017-07-02 17:25:47 +02:00
gtkgui_helpers.py Rename src directory 2017-07-02 17:25:47 +02:00
gtkspell.py Rename src directory 2017-07-02 17:25:47 +02:00
gui_interface.py Rework emoticon menu 2017-07-02 21:27:44 +02:00
gui_menu_builder.py Rename src directory 2017-07-02 17:25:47 +02:00
history_manager.py Rename src directory 2017-07-02 17:25:47 +02:00
history_window.py Rename src directory 2017-07-02 17:25:47 +02:00
htmltextview.py Rename src directory 2017-07-02 17:25:47 +02:00
ipython_view.py Rename src directory 2017-07-02 17:25:47 +02:00
logind_listener.py Rename src directory 2017-07-02 17:25:47 +02:00
message_control.py Rename src directory 2017-07-02 17:25:47 +02:00
message_textview.py Rename src directory 2017-07-02 17:25:47 +02:00
message_window.py Rework emoticon menu 2017-07-02 21:27:44 +02:00
music_track_listener.py Rename src directory 2017-07-02 17:25:47 +02:00
negotiation.py Rename src directory 2017-07-02 17:25:47 +02:00
network_watcher.py Rename src directory 2017-07-02 17:25:47 +02:00
notify.py Rename src directory 2017-07-02 17:25:47 +02:00
profile_window.py Rename src directory 2017-07-02 17:25:47 +02:00
pylint.rc Rename src directory 2017-07-02 17:25:47 +02:00
remote_control.py Rename src directory 2017-07-02 17:25:47 +02:00
roster_window.py Rename src directory 2017-07-02 17:25:47 +02:00
search_window.py Rename src directory 2017-07-02 17:25:47 +02:00
secrets.py Rename src directory 2017-07-02 17:25:47 +02:00
session.py Rename src directory 2017-07-02 17:25:47 +02:00
shortcuts_window.py Rename src directory 2017-07-02 17:25:47 +02:00
statusicon.py Rename src directory 2017-07-02 17:25:47 +02:00
tooltips.py Rename src directory 2017-07-02 17:25:47 +02:00
upower_listener.py Rename src directory 2017-07-02 17:25:47 +02:00
vcard.py Rename src directory 2017-07-02 17:25:47 +02:00