Browse Source

无JIRA任务,多线程问题

final/10.0
yaoh.wu 6 years ago
parent
commit
abd64f7ba7
  1. 2
      designer-base/src/main/java/com/fr/design/remote/ui/UserManagerPane.java

2
designer-base/src/main/java/com/fr/design/remote/ui/UserManagerPane.java

@ -369,9 +369,9 @@ public class UserManagerPane extends BasicPane {
final SwingWorker getMemberWorker = new SwingWorker<List<RemoteDesignMember>, Void>() {
@Override
protected List<RemoteDesignMember> doInBackground() {
addingMembers.clear();
String username = WorkContext.getCurrent().getConnection().getUserName();
synchronized (addingMembers) {
addingMembers.clear();
Collection<RemoteDesignMember> more = WorkContext.getCurrent().get(DecisionOperator.class).getMembers(username, keyword);
pageNum = 1;
if (!more.isEmpty()) {

Loading…
Cancel
Save