Hi,
I have been working on an InDesign plugin for some time now. This morning I updated InDesign to the latest version, version 20.4.1 (from 20.3.something).
In UXP Developer Tools I can “Load & Watch” my plugin OK, but when I “Unload” it InDesign hangs with the beachball of death and I have to Force Quit InDesign. (“Unloading” has previously worked fine.)
In the create lifecycle hook for the plugin I am adding InDesign event listeners, creating an InDesign submenu in the main menu and creating a flyout menu for the panel. In the destroy lifecycle hook for the plugin I am removing all those things. If I clear out all the code I have in the destroy lifecycle hook, I can “Unload” my plugin without causing InDesign to hang.
My code has been working fine for ages now. It has only broken with this latest version of InDesign, 20.4.1. Does anyone have any idea what Adobe have changed with this version of InDesign that might account for this?
Philip