Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Commit

Permalink
Added logic to prevent DataComponentComposite from refreshing its
Browse files Browse the repository at this point in the history
widgets if it's already disposed. *Why* widgets on a disposed composite
are being refreshed... I cannot figure out, but at least there isn't a
wall of disposed exceptions now when you launch a job.

Signed-off-by: Anna Wojtowicz <wojtowicza@ornl.gov>
  • Loading branch information
Anna Wojtowicz committed Apr 20, 2015
1 parent bdac549 commit 5f65715
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -154,6 +154,11 @@ public void handleEvent(Event e) {
public void refresh() {
// begin-user-code

// Don't try to refresh anything if this composite is already disposed
if (isDisposed()) {
return;
}

// Local Declarations
boolean rewrite = false;
List<Entry> entries = dataComp.retrieveAllEntries();
Expand Down

0 comments on commit 5f65715

Please sign in to comment.