Allow shutdown() to NOOP if we were never init()ed.

This commit is contained in:
Michael Bayne
2009-07-04 18:39:02 +00:00
parent b8696e0060
commit 858bf4ab1c
@@ -184,7 +184,9 @@ public class PersistenceContext
} catch (Throwable t) { } catch (Throwable t) {
log.warning("Failure shutting down Depot cache.", t); log.warning("Failure shutting down Depot cache.", t);
} }
_conprov.shutdown(); if (_conprov != null) {
_conprov.shutdown();
}
} }
/** /**