No, it won't crash since each XWalkView will be destroyed when activity is destroyed, and the preference listener becomes empty.