Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit b5f34f2a authored by Krzysztof Nowicki's avatar Krzysztof Nowicki

Fix cancelTask() for retrieveItems()

Terminate the current transaction similar to the retrieveItem() case
as otherwise the state machine is broken.

Reviewed By: dvratil

Differential Revision: https://phabricator.kde.org/D8133
parent aebf8a1b
......@@ -1194,6 +1194,9 @@ void ResourceBase::cancelTask()
case ResourceScheduler::FetchItem:
itemRetrieved(Item()); // sends the error reply and
break;
case ResourceScheduler::FetchItems:
itemsRetrieved(Item::List());
break;
case ResourceScheduler::ChangeReplay:
d->changeProcessed();
break;
......
Markdown is supported
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