imagej / imagej/tutorials

Properly dispose of contexts

Open
#12 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Jupyter Notebook
Stars
200
Forks
117
PR merge metrics
No merged PRs in 30d

Description

Currently none of the tutorials dispose the `Context`s they create. I'm worried that this will lead to "ImageJ tutorials won't quit" issues. For example: run the `LoadAndDisplayDataset` tutorial - after closing the opened image and log, imagej will still be running.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the LoadAndDisplayDataset tutorial and inspect how its Context is created and how the tutorial exits. Check the other tutorials for the same pattern, then verify that closing the opened image and log allows ImageJ to quit without remaining contexts.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.