VST3 host, unload plugin


I am developing mini cross platform VST3 host.
I have weird issue when I try to unload plugins (only on mac):
If the plugin GUI closed everything works fine, but if I try to unload with the GUI open I got crash.
Any idea what can cause this issue ?


Be sure to close the Editor before deleting others instance of the Controller…