mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 09:46:02 +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() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (viewer == null || viewer.getControl() == null || viewer.getControl().isDisposed())
|
||||
return;
|
||||
viewer.refresh();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue