fixed crash during psensor quit.