We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97e3877 commit cfdd71fCopy full SHA for cfdd71f
1 file changed
bundles/org.eclipse.rap.rwt/src/org/eclipse/swt/widgets/Display.java
@@ -939,7 +939,7 @@ private void detachThread() {
939
*/
940
public static Display findDisplay( Thread thread ) {
941
Display display = getDisplay( thread );
942
- if (display == null || display.thread == null || display.isDisposed()) {
+ if (display == null || display.thread != thread || display.isDisposed()) {
943
return null;
944
}
945
return display;
0 commit comments