Skip to content

atkutil: Store previous focus object as GWeakRef

Marek Kašík requested to merge mkasik/atk:previous-focus-object-leak into master

Use GWeakRef for keeping reference to previous focus object instead of keeping strong reference to it. This avoids to leak the last focus object because it was never dereferenced.

This reference prevents Evince to finalize EvViewAccessible which then does not unref EvDocumentModel which then does not unref EvDocument, etc.

Merge request reports

Loading