// leading to a recursive infinite loop of :
// initial exception thrown -> status handling -> dialog opening + logging of status ->
// status handling -> dialog opening + logging of status ... and so on
- if(t != null && t instanceof RuntimeException) {
+ if(t != null && t instanceof RuntimeException && !t.getMessage().equals("Widget is disposed")) {
MessagingUtils.errorDialog("Unexpected error",
null,
MessagingUtils.UNEXPECTED_ERROR_MESSAGE,
statusAdapter.getStatus().getPlugin(),
t,
true);
- }
+ }
}
}
}