Fix crash if context gets unrefd

Review Request #126012 - Created Nov. 9, 2015 and submitted

Information
David Edmundson
plasma-pa
5c2836b...
Reviewers
plasma
sitter

Context is refcounted (using it's own internal mechanism for whatever
reason)

However, when the last ref is deleted it leaves a dangling pointer in
instance(). When a new object is created it returns that.

This unsets our static pointer when deleting the context object

BUG: 354510

Still loads as before.

Harald Sitter
Sebastian Kügler
David Edmundson
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 5d46f6c2a767c25868c143ee64ef71e071a7a55b by David Edmundson to branch master.
Loading...