Merge lp:~a-j-buxton/lightdm/vt-double-unref-fix into lp:lightdm
Proposed by
Alistair Buxton
Status: | Merged |
---|---|
Approved by: | Robert Ancell |
Approved revision: | 1847 |
Merged at revision: | 1848 |
Proposed branch: | lp:~a-j-buxton/lightdm/vt-double-unref-fix |
Merge into: | lp:lightdm |
Diff against target: |
20 lines (+2/-2) 1 file modified
src/x-server-local.c (+2/-2) |
To merge this branch: | bzr merge lp:~a-j-buxton/lightdm/vt-double-unref-fix |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot | continuous-integration | Approve | |
Robert Ancell | Approve | ||
Review via email: mp+197247@code.launchpad.net |
Commit message
Fix the possible double unref'ing of VTs.
Description of the change
Fix the possible double unref'ing of VTs. eg: Display 1 shuts down, unref'ing the VT. Display 2 starts, ref'ing the now-free VT. Then finalize() is called on display 1, which unref's the VT again, leaving it free for any future displays to claim, even though display 2 is still using it.
To post a comment you must log in.
Thanks Alistair!