mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Reset history when destroying UrlHandlerRegistry
This commit is contained in:
committed by
Katrina Uychaco
parent
2504118d8b
commit
e02337265a
@@ -123,6 +123,7 @@ class UrlHandlerRegistry {
|
||||
destroy () {
|
||||
this.emitter.dispose()
|
||||
this.registrations = new Map()
|
||||
this.history = []
|
||||
this._id = 0
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user