You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please find code below. PSTFile object is not releasing reference of a file. I have to delete file once mails from PST files are read and stored in DB.
@rjohnsondev It actually would be great if future releases of libpst would let PSTFile implement java.lang.AutoCloseable to make this more obvious in an IDE.
Please find code below. PSTFile object is not releasing reference of a file. I have to delete file once mails from PST files are read and stored in DB.
PSTFile pstFile = new PSTFile(tempFile);
processFolder(pstFile.getRootFolder(), emailCredentials, tags);
/FileUtils.cleanDirectory(dir);
dir.delete();/
tempFile.delete();
Unable to delete tempFile from folder till jvm is started.
The text was updated successfully, but these errors were encountered: