Avoid potential deadlocks in repositories view
commit0098ee4394b35940c0a1048f0632320513474179
authorAndrey Loskutov <loskutov@gmx.de>
Tue, 25 Oct 2016 21:05:17 +0000 (25 23:05 +0200)
committerAndrey Loskutov <loskutov@gmx.de>
Wed, 26 Oct 2016 14:01:18 +0000 (26 16:01 +0200)
treec45a9e0f15f48270f320f45ff54d67309e812690
parent5bd95a98c9010b0a1ed0a1bc25d5742655a6cbed
Avoid potential deadlocks in repositories view

Don't join() in UI thread on a job which triggers Display.syncExec().
Neither join not sync execution was actually needed.

Bug: 506463
Change-Id: I4f11d4fa56507493a059a550108ce17c2fe96b10
Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewRemoteHandlingTest.java
org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewRepoHandlingTest.java
org.eclipse.egit.ui.test/src/org/eclipse/egit/ui/view/repositories/GitRepositoriesViewTest.java
org.eclipse.egit.ui/src/org/eclipse/egit/ui/internal/repository/RepositoriesView.java