--------- Co-authored-by: yiguolei <yiguolei@gmail.com>
using weak ptr as a lock between fragment execute thread and scanner thread, to solve the core problem in scanner's dctor to access scannode's profile.