Skip to content

Commit 147f672

Browse files
Luke DavisLuke Davis
authored andcommitted
Bug fixes:
Removed a call in terminate that unregistered an ExtensionPoint which was never registered. Moved the unregistration of the initial app collection, from its handler to terminate.
1 parent 7a6bea5 commit 147f672

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

addon/globalPlugins/versionCollector/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def __init__(self, *args, **kwargs):
144144
def terminate(self) -> None:
145145
# Unregister the extensionPoints
146146
post_appSwitch.unregister(self.onAppSwitch)
147-
postNvdaStartup.unregister(self.onAppSwitch)
147+
postNvdaStartup.unregister(self.collectInitialApp)
148148
postNvdaStartup.unregister(self.retrieveInstalledAddons)
149149
super().terminate()
150150

@@ -197,7 +197,6 @@ def collectInitialApp(self) -> None:
197197
"""Called as a registered extensionPoint, when NVDA first finishes loading."""
198198
log.debug("Collecting the initial app after a delay.")
199199
core_callLater(1000, self.onAppSwitch)
200-
postNvdaStartup.unregister(self.collectInitialApp)
201200

202201
def addToCacheOrUpdateDate(self, subject: _AppData) -> None:
203202
ind = getCacheIndexOf(subject)

buildVars.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def _(arg):
2626
"addon_description": _("""Keeps a record of all software names and versions used while running NVDA.
2727
Provides a list that can be copied/exported for diagnostics and support."""),
2828
# version
29-
"addon_version": "23.00.063",
29+
"addon_version": "23.00.064",
3030
# Author(s)
3131
"addon_author": "Luke Davis <XLTechie@newanswertech.com>",
3232
# URL for the add-on documentation support

0 commit comments

Comments
 (0)