mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 22:22:11 +02:00
Bug 530371: fix device disposed SWTException on shutdown
Change-Id: I2cb4bf5da4ce35d8b7da4a31d0fa2845c9587985
This commit is contained in:
parent
b15619d4b1
commit
ee784263c2
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ public class GdbFullCliConsole extends AbstractConsole implements IGDBDebuggerCo
|
|||
PlatformUI.getWorkbench().getDisplay().asyncExec(() -> setName(newName));
|
||||
} catch (SWTException e) {
|
||||
// display may be disposed, so ignore the exception
|
||||
if (e.code != SWT.ERROR_WIDGET_DISPOSED) {
|
||||
if (e.code != SWT.ERROR_WIDGET_DISPOSED && e.code != SWT.ERROR_DEVICE_DISPOSED) {
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue