Bloom.Publish.PublishModel.Dispose C# (CSharp) Method

Dispose() public method

public Dispose ( ) : void
return void
        public void Dispose()
        {
            if (RobustFile.Exists(PdfFilePath))
            {
                try
                {
                    RobustFile.Delete(PdfFilePath);
                }
                catch (Exception)
                {

                }
            }
            if (_epubMaker != null)
            {
                _epubMaker.Dispose();
                _epubMaker = null;
            }

            GC.SuppressFinalize(this);
        }