xfree86 DDX: Delete DDX screens in ddxGiveUp().

This allows video drivers to clean up in the FreeScreen hook things they set up
in the PreInit hook.
This commit is contained in:
Michel Dänzer 2006-11-29 19:25:09 +01:00
parent b0c8558b9d
commit a6381e6984

View File

@ -1119,6 +1119,9 @@ ddxGiveUp()
DGAShutdown();
#endif
while (xf86NumScreens)
xf86DeleteScreen(xf86NumScreens - 1, 0);
xf86CloseConsole();
xf86CloseLog();