diff --git a/src/history/base.js b/src/history/base.js index 0c90dafa7..5b6f199c6 100644 --- a/src/history/base.js +++ b/src/history/base.js @@ -318,7 +318,10 @@ function poll ( key: string, isValid: () => boolean ) { - if (instances[key]) { + if ( + instances[key] && + !instances[key]._isBeingDestroyed // do not reuse being destroyed instance + ) { cb(instances[key]) } else if (isValid()) { setTimeout(() => {