xfree86: die gracefully in the vga arbiter if AddScreen fails
vga arbiter will be locked in one device while AbortDDX will call LeaveVT routines from the other device. Fail! Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
e75f202e77
commit
b9ad452ec9
|
@ -1269,7 +1269,9 @@ AbortDDX(void)
|
|||
* we might not have been wrapped yet. Therefore enable
|
||||
* screen explicitely.
|
||||
*/
|
||||
xf86VGAarbiterLock(xf86Screens[i]);
|
||||
(xf86Screens[i]->LeaveVT)(i, 0);
|
||||
xf86VGAarbiterUnlock(xf86Screens[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue