Remove MDRCache corresponding to a storage being unmounted from the list of MDRCache instances.
1.1 --- a/mdr/src/org/netbeans/mdr/persistence/btreeimpl/btreestorage/BtreeDatabase.java Fri Oct 01 16:02:08 2004 +0000
1.2 +++ b/mdr/src/org/netbeans/mdr/persistence/btreeimpl/btreestorage/BtreeDatabase.java Fri Oct 01 16:09:49 2004 +0000
1.3 @@ -461,6 +461,7 @@
1.4 */
1.5 public void shutDown() throws StorageException {
1.6 synchronized (myStorage) {
1.7 + cache.shutDown();
1.8 try {
1.9 fileCache.commit();
1.10 } catch (StorageException ex) {
1.11 @@ -469,7 +470,7 @@
1.12 } // catch
1.13 }
1.14 }
1.15 -
1.16 +
1.17 /** save all changes to disk without comitting
1.18 */
1.19 public void saveChanges() throws StorageException {