Repository navigation
webview
- Unloading no longer crashes the host on macOS. Once a plugin's WebView had been shown, unloading the plugin (quitting clap-host, or a host removing it) crashed: AppKit keeps the WebView alive in the host's autorelease pools past
gui.destroy, and when it was finally freed, CHOC's delegate class had gone with the binary. - The plugin now stays loaded from the first time its view attaches. A plugin whose GUI never opens unloads as before.
- The cost: until the host restarts, reloading the plugin in the same process runs the code that was first loaded, even after a rebuild, and its globals keep their values from the last load. Start a new host process to pick up a rebuild.
- Nothing else changes. Windows, Linux and iOS are untouched.