Skip to content

FitterWorker.stop() docstring describes removed thread-termination behavior #324

Closed

Description

@rozyczko

Source: EasyReflectometryApp/Backends/Py/workers/fitter_worker.py:137-160 — DEEP_ANALYSIS.md §5 item 13

stop()'s docstring describes QThread.terminate() behaviour and refers to THREAD_TERMINATION_WARNING.md, but:

  • the method only sets a flag (no termination), and
  • that file does not exist in the repository.

The docstring documents code that was removed. Relatedly, analysis.py:448 still calls setTerminationEnabled(True) although nothing terminates.

Fix: Update the docstring to describe the flag-based stop; remove the stale setTerminationEnabled(True) call and the nonexistent-file reference.

Activity

  1. added
    [scope] maintenance
    [priority] low
    on Jun 17, 2026
  2. added a commit that references this issue on Jun 18, 2026
  3. added a commit that references this issue on Jul 15, 2026
  4. added a commit that references this issue on Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [priority] low[scope] maintenance

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions