public void Dispose() { if (RobustFile.Exists(PdfFilePath)) { try { RobustFile.Delete(PdfFilePath); } catch (Exception) { } } if (_epubMaker != null) { _epubMaker.Dispose(); _epubMaker = null; } GC.SuppressFinalize(this); }