Aric Stewart : server: Fixup input windows on thread_detach.