Close this Store.
()
| 1752 | * Close this Store. |
| 1753 | */ |
| 1754 | @Override |
| 1755 | public synchronized void close() throws MessagingException { |
| 1756 | cleanup(); |
| 1757 | // do these again in case cleanup returned early |
| 1758 | // because we were already closed due to a failure, |
| 1759 | // in which case we force close everything |
| 1760 | closeAllFolders(true); |
| 1761 | emptyConnectionPool(true); |
| 1762 | } |
| 1763 | |
| 1764 | @Override |
| 1765 | protected void finalize() throws Throwable { |
no test coverage detected