Skip to content

Adds shutdown to Plugin - #1902

Merged
leMaik merged 3 commits into
chunky-dev:masterfrom
NotStirred:feature/plugin_shutdown
Oct 13, 2026
Merged

leMaik merged 3 commits into
chunky-dev:masterfrom
NotStirred:feature/plugin_shutdown

Conversation

@NotStirred

@NotStirred NotStirred commented Jul 25, 2026 •

Copy link
Copy Markdown
Member

Based on #1895 (adds 3 commits). Use this diff (1895..this) for review

Shuts down plugins in the opposite order to when they were loaded.

Also:

  • I moved the plugin management into PluginManager, which seems sensible.
  • 69f0d7c as was defined in the comment above, the maximum possible loop iterations was already known, so we use that.

@NotStirred
NotStirred force-pushed the feature/plugin_shutdown branch 2 times, most recently from f45cc1d to a1b164d Compare July 26, 2026 20:30
This was referenced Jul 26, 2026
The comment already explains that the worst case cannot take more cycles
than the number of plugins to load, so we use that.
@leMaik
leMaik force-pushed the feature/plugin_shutdown branch from a1b164d to 22f7371 Compare October 13, 2026 22:46
@leMaik

leMaik commented Oct 13, 2026

Copy link
Copy Markdown
Member

👍 for moving the plugin loading out of the Chunky class.

@leMaik
leMaik merged commit f10ef3f into chunky-dev:master Oct 13, 2026
1 check passed
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.

2 participants