Handle backend being deleted during GetConfigOperation

Review Request #123860 - Created May 20, 2015 and submitted

Information
David Edmundson
libkscreen
347626
0923993...
Reviewers
plasma, solid
GetConfigOperation stores a raw pointer to the backend in a property of
the QDBusPendingCallWatcher

BackendManager owns this backend and can delete it at will if it becomes
invalidated, leaving a dangling pointer in the watcher's property.

BUG: 347626

Never made the crash happen myself, but looking at the backtrace and the code it seems the a way it could have happened.

Tested behaviour as before still works.

David Edmundson
Aleix Pol Gonzalez
Daniel Vrátil
David Edmundson
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit d062d40582e00c8f34b8e0a1fd1e457d71b70ed9 by David Edmundson to branch Plasma/5.3.
Loading...