From 8eb11787dedabcb0f8fa8defb08a9a9878d0b604 Mon Sep 17 00:00:00 2001 From: yuri Date: Mon, 25 Mar 2019 10:29:15 +0200 Subject: [PATCH] update bull.js --- client/lib/bull.js | 1 + 1 file changed, 1 insertion(+) diff --git a/client/lib/bull.js b/client/lib/bull.js index e683d8f5bc..57d66e027e 100644 --- a/client/lib/bull.js +++ b/client/lib/bull.js @@ -809,6 +809,7 @@ var Bull = Bull || {}; * @param {Bool} wait True be default. Set false if no need parent view wait for nested view loaded. */ createView: function (key, viewName, options, callback, wait) { + this.clearView(key); return new Promise(function (resolve) { wait = (typeof wait === 'undefined') ? true : wait; var context = this;