Fixed proper shutdown in case if view forgot to reset listener to NULL