@Override public void tearDown() { if (!tornDown.compareAndSet(false, true)) { return; } beanProvider.removeNotificationListener(this); clusterModel.removePropertyChangeListener(clusterListener); clusterListener.tearDown(); synchronized (this) { appContext = null; clusterModel = null; clusterListener = null; regionTable = null; regionTableModel.clear(); regionTableModel = null; refreshRegionsButton = null; beanProvider = null; } super.tearDown(); } }
@Override public void tearDown() { if (!tornDown.compareAndSet(false, true)) { return; } beanProvider.removeNotificationListener(this); clusterModel.removePropertyChangeListener(clusterListener); clusterListener.tearDown(); synchronized (this) { appContext = null; clusterModel = null; clusterListener = null; regionTable = null; regionTableModel.clear(); regionTableModel = null; refreshRegionsButton = null; beanProvider = null; } super.tearDown(); } }
@Override public void tearDown() { if (!tornDown.compareAndSet(false, true)) { return; } beanProvider.removeNotificationListener(this); clusterModel.removePropertyChangeListener(clusterListener); clusterListener.tearDown(); synchronized (this) { appContext = null; clusterModel = null; clusterListener = null; regionTable = null; regionTableModel.clear(); regionTableModel = null; refreshRegionsButton = null; beanProvider = null; } super.tearDown(); } }