mirror of
https://github.com/igniterealtime/Spark.git
synced 2025-12-01 12:27:58 +00:00
@ -21,6 +21,8 @@ package org.jivesoftware.spark.util;
|
||||
|
||||
|
||||
|
||||
import org.jivesoftware.spark.util.log.Log;
|
||||
|
||||
import javax.swing.SwingUtilities;
|
||||
|
||||
/**
|
||||
@ -139,6 +141,9 @@ public abstract class SwingWorker {
|
||||
try {
|
||||
setValue(construct());
|
||||
}
|
||||
catch ( Exception e ) {
|
||||
Log.error( e );
|
||||
}
|
||||
finally {
|
||||
threadVar.clear();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user