Skip to content

Comments

Ensure tab callbacks cancelled before cleanup#3465

Open
MelkorBalrog wants to merge 1 commit intomainfrom
codex/audit-tab-management-for-cleanup-routines
Open

Ensure tab callbacks cancelled before cleanup#3465
MelkorBalrog wants to merge 1 commit intomainfrom
codex/audit-tab-management-for-cleanup-routines

Conversation

@MelkorBalrog
Copy link
Owner

Summary

  • cancel Tk after callbacks before forgetting or destroying tabs to avoid orphaned Tcl commands
  • document callback cancellation in ClosableNotebook and update version history

Testing

  • radon cc -j gui/utils/closable_notebook.py
  • pytest (fails: Segmentation fault)
  • pytest tests/test_closable_notebook.py tests/detachment/after_callbacks/test_tab_close_cleanup.py (all skipped)

https://chatgpt.com/codex/tasks/task_b_68b97c3d25f08327babe354aba93480e

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant