Allow deleting of objects that are exclusively locked by the current thread. svn path=/trunk/; revision=40068