mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
Bug 417220 - MakeContentProvider causes SWTException: Widget is
disposed.
This commit is contained in:
parent
4d0b4e615f
commit
ef1eaf2b83
1 changed files with 2 additions and 0 deletions
|
@ -235,6 +235,8 @@ public class MakeContentProvider implements ITreeContentProvider, IMakeTargetLis
|
||||||
Display.getDefault().asyncExec(new Runnable() {
|
Display.getDefault().asyncExec(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
if (viewer == null || viewer.getControl() == null || viewer.getControl().isDisposed())
|
||||||
|
return;
|
||||||
viewer.refresh();
|
viewer.refresh();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue