Skip to content
Commit 44ca1a6e authored by Sergio Martins's avatar Sergio Martins
Browse files

Fix bug detected by unit-test.

Reset m_currentOperation when return error, otherwise processiTIPMessage
can't be called anymore.

Also made the return error be returned async, when processiTIPMessage()
is no longer on the stack. During a successfull operation that was the case,
but on error cases we were emitting immediately. Callers calling this method in
sync mode with nested event loop (due to kmail memento
limitation) couldn't catch the signal, as they only started listening
to the signal after calling processiTIPMessage().
parent d41253be
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment