Fix logout Null Point bug

Signed-off-by: kim.shen <sjw_job@126.com>