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

Method finalize

app/src/main/java/com/sun/mail/imap/IMAPStore.java:1764–1779  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1762 }
1763
1764 @Override
1765 protected void finalize() throws Throwable {
1766 if (!finalizeCleanClose) {
1767 // when finalizing, close connections abruptly
1768 synchronized (connectionFailedLock) {
1769 connectionFailed = true;
1770 forceClose = true;
1771 }
1772 closeFoldersOnStoreFailure = true; // make sure folders get closed
1773 }
1774 try {
1775 close();
1776 } finally {
1777 super.finalize();
1778 }
1779 }
1780
1781 /**
1782 * Cleanup before dying.

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected