Changeset 387


Ignore:
Timestamp:
05/11/05 19:16:04 (15 years ago)
Author:
curtis
Message:

Fix bug preventing discarded thumbnails from being garbage collected.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/visbio/data/DataControls.java

    r385 r387  
    539539 
    540540    // link in thumbnail progress bar and generation button 
    541     if (data == null) bio.resetStatus(); 
     541    if (thumbHandler != null) thumbHandler.setControls(null, null); 
     542    if (data == null) { 
     543      bio.resetStatus(); 
     544      thumbHandler = null; 
     545    } 
    542546    else { 
    543       if (thumbHandler != null) thumbHandler.setControls(null, null); 
    544  
    545547      ThumbnailHandler th = data.getThumbHandler(); 
    546548      if (th == null) bio.resetStatus(); 
Note: See TracChangeset for help on using the changeset viewer.