Fixed threadObject == null