Skip to content

pyplugins: alter unloading behavior wrt __main_loop_wait#1529

Merged
lacraig2 merged 1 commit into
devfrom
fix_pyplugin_unloading
Sep 2, 2024
Merged

pyplugins: alter unloading behavior wrt __main_loop_wait#1529
lacraig2 merged 1 commit into
devfrom
fix_pyplugin_unloading

Conversation

@lacraig2

@lacraig2 lacraig2 commented Sep 2, 2024

Copy link
Copy Markdown
Member

683ee85 Introduced behavior that can cause issues when unloading plugins.

In particular, the following convention can be seen:

  • end_analysis
  • unload_plugins
  • queue_main_loop_wait_fn(_unload_pyplugins)

This triggers the behavior we see in #1528 and results in a SEGFAULT, but the primary issue is more fundamental.

In particular, we are removing the main_loop_wait callback before we're really done with it.

@lacraig2 lacraig2 merged commit 2888c39 into dev Sep 2, 2024
@lacraig2 lacraig2 deleted the fix_pyplugin_unloading branch September 2, 2024 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant