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