When a connection is lost (especially with websockets), the default action is to attempt a periodic reconnect until successful. When connection occurs, the extension is reloaded to re-initialize all event handlers properly. This action forces all open windows to close.
Long term solution is to remove the need for a reload of the extension. In the meantime, make auto-re-connection configurable for both background and Converse.
When a connection is lost (especially with websockets), the default action is to attempt a periodic reconnect until successful. When connection occurs, the extension is reloaded to re-initialize all event handlers properly. This action forces all open windows to close.
Long term solution is to remove the need for a reload of the extension. In the meantime, make auto-re-connection configurable for both background and Converse.