Forgot to initialize current_thread