Reset history when destroying UrlHandlerRegistry

This commit is contained in:
Michelle Tilley
2017-10-17 14:42:11 -07:00
committed by Katrina Uychaco
parent 2504118d8b
commit e02337265a

View File

@@ -123,6 +123,7 @@ class UrlHandlerRegistry {
destroy () {
this.emitter.dispose()
this.registrations = new Map()
this.history = []
this._id = 0
}
}