Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Johnston2019-02-19 21:27:06 +0000
committerJeff Johnston2019-02-20 05:31:56 +0000
commite5f239b1c2f8a4501e4058bffddcdc9d5bf3ae4c (patch)
tree64dbe7487679edc6615f05a23ab0d8d48dcd051c
parent79deb807180a4e848844e2bc1a9fc72e0ec493f8 (diff)
downloadorg.eclipse.linuxtools-e5f239b1c2f8a4501e4058bffddcdc9d5bf3ae4c.tar.gz
org.eclipse.linuxtools-e5f239b1c2f8a4501e4058bffddcdc9d5bf3ae4c.tar.xz
org.eclipse.linuxtools-e5f239b1c2f8a4501e4058bffddcdc9d5bf3ae4c.zip
Bug 533235 - Widget is disposed in Pull Image dialog
- Do not fork the search operation in a separate thread to avoid a widget disposed if user closes dialog early Change-Id: Ife9eaedfbfa1ded497c82db855643d6cca0e6b12 Reviewed-on: https://git.eclipse.org/r/137238 Tested-by: CI Bot Reviewed-by: Jeff Johnston <jjohnstn@redhat.com>
-rw-r--r--containers/org.eclipse.linuxtools.docker.ui/src/org/eclipse/linuxtools/internal/docker/ui/wizards/ImageSearchPage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/containers/org.eclipse.linuxtools.docker.ui/src/org/eclipse/linuxtools/internal/docker/ui/wizards/ImageSearchPage.java b/containers/org.eclipse.linuxtools.docker.ui/src/org/eclipse/linuxtools/internal/docker/ui/wizards/ImageSearchPage.java
index dbf8a78305..6e51b833b0 100644
--- a/containers/org.eclipse.linuxtools.docker.ui/src/org/eclipse/linuxtools/internal/docker/ui/wizards/ImageSearchPage.java
+++ b/containers/org.eclipse.linuxtools.docker.ui/src/org/eclipse/linuxtools/internal/docker/ui/wizards/ImageSearchPage.java
@@ -263,7 +263,7 @@ public class ImageSearchPage extends WizardPage {
try {
final BlockingQueue<List<IDockerImageSearchResult>> searchResultQueue = new ArrayBlockingQueue<>(
1);
- ImageSearchPage.this.getContainer().run(true, true,
+ ImageSearchPage.this.getContainer().run(false, true,
monitor -> {
monitor.beginTask(WizardMessages
.getString("ImageSearchPage.searchTask"), 1); //$NON-NLS-1$

Back to the top