Don't destroy current thread's pagedir before activating a different