Index: branches/1.2/xcache.c
===================================================================
--- branches/1.2/xcache.c	(revision 417)
+++ branches/1.2/xcache.c	(revision 423)
@@ -2704,4 +2704,9 @@
 	}
 	UNREGISTER_INI_ENTRIES();
+
+	xc_module_gotup = 0;
+	xc_zend_extension_gotup = 0;
+	xc_zend_extension_faked = 0;
+
 	return SUCCESS;
 }
