Ticket #1882 (closed defect: fixed)

Opened 7 years ago

Last modified 7 years ago

Program exit not working well on scifio-cells branch

Reported by: bdezonia Owned by: hinerm
Priority: major Milestone: imagej2-b7-ndim-data
Component: Analysis Plugins Version:
Severity: serious Keywords:
Cc: Blocked By:
Blocking: #1563


On the scifio-cells branch if you open an image the program will not shut down correctly. Likely the file choosing dialog is not disposing itself. Hinerm let's talk if you don't get this bug report.

Change History

comment:1 Changed 7 years ago by bdezonia

Okay, it's not clear what is going on. If you set planar == true on line 166 of DefaultIOService the program exits fine. If planar == false then program does not exit. The JFileChooser being used in AbstractSwingUI has no way to inform dispose behavior and should be unaffected by the planar flag setting. Is it a difference in how the two opening paths (planarImg vs. cellImg) interact with the StatusListener?

Last edited 7 years ago by bdezonia (previous) (diff)

comment:2 Changed 7 years ago by bdezonia

Note that putting code in AbstractSwingUI::dispose() to dispose all windows does NOT fix this issue.

comment:3 Changed 7 years ago by hinerm

This was a problem with Ehcache CacheManagers being created and not shut down properly.

Tentatively fixed here via the use of a caching service:

comment:4 Changed 7 years ago by bdezonia

  • Status changed from new to closed
  • Resolution set to fixed

Tested as fixed.

Note: See TracTickets for help on using tickets.