mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
prevent read/write after close
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user