Check for NULL progress listener.
This commit is contained in:
parent
8e51494486
commit
59e635d317
@ -141,6 +141,7 @@ void SMTPChunkingOutputStreamAdapter::flush()
|
|||||||
sendChunk(m_buffer, m_bufferSize, /* last */ true);
|
sendChunk(m_buffer, m_bufferSize, /* last */ true);
|
||||||
m_bufferSize = 0;
|
m_bufferSize = 0;
|
||||||
|
|
||||||
|
if (m_progress)
|
||||||
m_progress->stop(m_totalSize);
|
m_progress->stop(m_totalSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user