diff -u --recursive gdm-2.4.4.5-vanilla/daemon/slave.c gdm-2.4.4.5/daemon/slave.c
--- gdm-2.4.4.5-vanilla/daemon/slave.c	2003-10-16 11:38:45.000000000 -0500
+++ gdm-2.4.4.5/daemon/slave.c	2003-11-03 11:19:31.000000000 -0600
@@ -864,6 +864,8 @@
 				gdm_slave_quick_exit (DISPLAY_REMANAGE);
 			}
 		}
+
+		gdm_verify_cleanup (d);
 	}
 	/* very very very evil, should never break, we can't return from
 	   here sanely */
@@ -4132,8 +4134,6 @@
     /* things are going to be killed, so ignore errors */
     XSetErrorHandler (ignore_xerror_handler);
 
-    gdm_verify_cleanup (d);
-
     in_session_stop --;
 
     if (need_to_quit_after_session_stop) {
