MCPcopy Create free account
hub / github.com/M66B/FairEmail / close

Method close

app/src/main/java/com/sun/mail/imap/IMAPStore.java:1754–1762  ·  view source on GitHub ↗

Close this Store.

()

Source from the content-addressed store, hash-verified

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 {

Callers 6

finalizeMethod · 0.95
getHeaderStreamMethod · 0.45
selectMethod · 0.45
cleanupMethod · 0.45
writeToMethod · 0.45
disconnectMethod · 0.45

Calls 3

cleanupMethod · 0.95
closeAllFoldersMethod · 0.95
emptyConnectionPoolMethod · 0.95

Tested by

no test coverage detected