Call PortProvider.listen sooner
Call `listen` immediately after creating the PortProvider, before creating the sidebar. This will allow us to rule out the possibility that the sidebar sometimes fails to connect to the PortProvider because an error occurred in the annotator code after creating the sidebar iframe but before calling `PortProvider.listen`, resulting in the PortProvider listener not being created.
Showing
Please register or sign in to comment