prevent read/write after close

This commit is contained in:
Dmitry Avdeev
2015-10-20 17:10:56 +03:00
parent a24eb47014
commit 4a796c6913
@@ -146,11 +146,13 @@ public class TestStateStorage implements Disposable {
if (myMap == null) return;
try {
myMap.close();
myMap = null;
}
catch (IOException e) {
LOG.error(e);
}
finally {
myMap = null;
}
}
private void thingsWentWrongLetsReinitialize(IOException e, String message) {