Skip to content
Commit 9c2fb712 authored by Jonathan Thomas's avatar Jonathan Thomas
Browse files

Re-initializing all of APT when we want to revert pending changes is a bit... extreme...

Instead, just keep a QApt::CacheState of the initial state, and use
QApt::Backend::restoreCacheState() to restore it.

This is much safer as we're not invalidating every Package pointer, and in addition is
much faster. This fixes several related crashes.

BUG:281623
FIXED-IN:1.2.3
parent 15323c46
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