-
released this
2026-07-04 20:27:12 -07:00 | 8 commits to main since this releaseFixes a second, more subtle cause of the NVDA restart hang from v0.1.17.
v0.1.17 deferred the tray menu teardown in
terminate()viawx.CallAfter
to avoid callingtoolsMenu.Remove()while NVDA's wx event loop was
tearing down. That wasn't quite enough: NVDA's core destroys the system
tray icon (and every menu it owns, including this add-on's submenu)
synchronously right afterterminate()returns, in the same call stack,
before the deferred callback gets a separate turn to run. Touching the
menu ourselves at that point could still reproduce the hang.terminate()now checkscore._hasShutdownBeenTriggered(the same
private flag NVDA's own bundled NVDA Remote client uses to detect a real
exit) and skips menu teardown entirely during a genuine NVDA exit, since
NVDA tears the tray icon down for us moments later. Teardown still runs
normally for a plugin reload, where NVDA does not destroy the tray icon.Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
Source code (ZIP)
mirror of
https://github.com/serrebidev/NVDARemoteAudioClient.git
synced 2026-08-13 07:50:18 -07:00