Properly stop message emission when closing external UI

This commit is contained in:
Robin Gareus 2023-11-26 20:00:46 +01:00
parent 282be3d459
commit 04be971238
No known key found for this signature in database
GPG key ID: A090BCE02CF57F04

View file

@ -200,6 +200,7 @@ LV2PluginUI::on_external_ui_closed(void* controller)
//printf("LV2PluginUI::on_external_ui_closed\n");
LV2PluginUI* me = (LV2PluginUI*)controller;
me->_screen_update_connection.disconnect();
me->_message_update_connection.disconnect();
me->_external_ui_ptr = NULL;
}