Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GeanyPy: Unload Python plugins when GeanyPy is deactivated #270

Closed
wants to merge 1 commit into from

Conversation

codebrainz
Copy link
Member

This prevents crashes and/or lockups when the GeanyPy C plugin
is reloaded.

FIXME: Because it calls the normal unloading path, it updates
the list of loaded plugins to remove each plugin. The net effect
is that when the C GeanyPy plugin is unloaded, it forgets all
of the Python plugins that were loaded at the time.

This prevents crashes and/or lockups when the GeanyPy C plugin
is reloaded.

FIXME: Because it calls the normal unloading path, it updates
the list of loaded plugins to remove each plugin. The net effect
is that when the C GeanyPy plugin is unloaded, it forgets all
of the Python plugins that were loaded at the time.
@codebrainz codebrainz added this to the 1.25 milestone Jul 12, 2015
@codebrainz codebrainz added the bug label Jul 12, 2015
@codebrainz
Copy link
Member Author

Feel free to leave out of release, but it might save some bug reports.

@b4n
Copy link
Member

b4n commented Jul 12, 2015

This seem to mostly work (no more crashes after manually unloading the plugin), although it's super annoying as this means on every geany run (well, whenever it quits, which unloads the plugin) all Python plugins need to be re-enabled.
I'm afraid this might not please users.

@frlan frlan modified the milestones: 1.26, 1.25 Jul 12, 2015
@frlan
Copy link
Member

frlan commented Jul 12, 2015

Postponed to post 1.25 due to the massiv effect on restart of Geany.

@codebrainz
Copy link
Member Author

Related: codebrainz/geanypy#31

@frlan frlan modified the milestones: 1.27, 1.26 Nov 7, 2015
@frlan frlan modified the milestones: 1.28, 1.27 Mar 13, 2016
@frlan frlan modified the milestone: 1.28.0 Jun 27, 2016
@frlan
Copy link
Member

frlan commented Jan 10, 2017

@kugel- As you are currently maintainer of this part of geanypy, can you please have a look whether it's still a point?

@kugel-
Copy link
Member

kugel- commented Jan 11, 2017

Geanypy is a proxy plugin these days. These cannot be deactivated (through the GUI) without deactivating each and every subplugin. This can be closed, thanks for the reminder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants