commit | a5dc1a102d225c26d20cc6b9e30fbe2dffedb448 | [log] [tgz] |
---|---|---|
author | Eike Stepper <stepper@esc-net.de> | Sat Nov 14 05:32:32 2020 +0100 |
committer | Eike Stepper <stepper@esc-net.de> | Sat Nov 14 05:32:32 2020 +0100 |
tree | a336eac9e550ec2d5313e810654e095c28b14d03 | |
parent | 7fc793c10dc9573386ef125a42af0143bdfdc997 [diff] |
[568778] Add option to do lock state prefetching asynchronously https://bugs.eclipse.org/bugs/show_bug.cgi?id=568778
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/view/CDOLockStatePrefetcher.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/view/CDOLockStatePrefetcher.java index 5960343..9022ac7 100644 --- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/view/CDOLockStatePrefetcher.java +++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/cdo/view/CDOLockStatePrefetcher.java
@@ -212,7 +212,10 @@ } catch (Exception ex) { - OM.LOG.error(ex); + if (view.isActive()) + { + OM.LOG.error(ex); + } } }); } @@ -225,7 +228,10 @@ } catch (Exception ex) { - OM.LOG.error(ex); + if (view.isActive()) + { + OM.LOG.error(ex); + } } for (InternalCDOView otherview : view.getSession().getViews()) @@ -253,7 +259,10 @@ } catch (Exception ex) { - OM.LOG.error(ex); + if (otherview.isActive()) + { + OM.LOG.error(ex); + } } } }