Check curr_thread is not empty before accessing it.

<rdar://problem/15953271>