Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'self.__updateQueue.push')

we have a catalog page linking to articles. On pageInit on the article page we query out websocket to get the article details. First time calling the article page works fine, every second and following call the error mentioned above appears.


pageInit: function (e, page) {
   var _this = this;
   document.addEventListener("getArticleSimple", _this.parse);
   wss.send({'type':'article', 'action':'simple', 'data':{'key': page.router.currentRoute.params.search}});         
          parse: function(e){
              var _this = this;

                  loadingArticle: false
                  , 'article': e.detail.data[0]
              }, function(){

pageBeforeRemove: removeEventListener

What @shastox said, you need to detach event listener for getArticleSimple on that component destroy, otherwise looks like you are trying to call the method on destroyed/removed component