164165166167168169170171172173174
// set element to null first, so that no document wide updates setElement(null); setModel(null); if (adapter != null) adapter.modelReleased(model); } finally { model.releaseFromRead(); } }
103104105106107108109110111112113
setElement(null); setModel(null); if (adapter != null) adapter.modelReleased(currentModel); if (currentModel != null) currentModel.releaseFromRead(); }