nsresult nsEnigMsgCompose::Finalize() { DEBUG_LOG(("nsEnigMsgCompose::Finalize:\n")); mMsgComposeSecure = nsnull; mMimeListener = nsnull; if (mPipeTrans) { mPipeTrans->Terminate(); mPipeTrans = nsnull; } if (mWriter) { mWriter->Close(); mWriter = nsnull; } if (mEncoderData) { // Clear encoder buffer MimeEncoderDestroy(mEncoderData, PR_FALSE); mEncoderData = nsnull; } return NS_OK; }
nsresult nsMimeConverter::EncoderDestroy(MimeEncoderData *data, bool abort_p) { MimeEncoderDestroy(data, abort_p); return NS_OK; }