Skip to content

Conversation

MinyazevR
Copy link
Contributor

  1. Solution for issue.
    Namely, adding PythonQt::preCleanUp, which is called before Py_FinalzeEx and clears some fields, which makes it possible to call PythonQt::Cleanup without subsequent crashes.
  2. Fixing memory leaks for all tests. However, the re-initialization tests currently fail for Python3.12.0-3.12.4 due to issue.
    3 Small changes to improve c++ code.

@MinyazevR MinyazevR changed the title Minyazev r fix tests Make it possible to use Py_Finalize before calling the PythonQt destructor Jun 26, 2025
@MinyazevR MinyazevR marked this pull request as draft June 26, 2025 19:30
@MinyazevR MinyazevR marked this pull request as ready for review June 30, 2025 17:04
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