[SCM] calf/master: Send /quit to out-of-process GUI on cleanup, remove unnecessary printf.
js at users.alioth.debian.org
js at users.alioth.debian.org
Tue May 7 15:40:07 UTC 2013
The following commit has been merged in the master branch:
commit 1b0c961ddd5c4bfc0c390c3669384638ef23340e
Author: Krzysztof Foltman <wdev at foltman.com>
Date: Sun Apr 11 20:25:09 2010 +0100
Send /quit to out-of-process GUI on cleanup, remove unnecessary printf.
diff --git a/src/lv2gui.cpp b/src/lv2gui.cpp
index 2ae9cf9..0faca26 100644
--- a/src/lv2gui.cpp
+++ b/src/lv2gui.cpp
@@ -512,6 +512,10 @@ void ext_plugin_gui::receive_osc_message(std::string address, std::string args,
ext_plugin_gui::~ext_plugin_gui()
{
+ if (confirmed)
+ {
+ cli.send("/quit");
+ }
if (feedback_sender)
delete feedback_sender;
}
@@ -570,7 +574,6 @@ void extgui_cleanup(LV2UI_Handle handle)
{
ext_plugin_gui *gui = (ext_plugin_gui *)handle;
delete gui;
- printf("cleanup\n");
}
void extgui_port_event(LV2UI_Handle handle, uint32_t port, uint32_t buffer_size, uint32_t format, const void *buffer)
--
calf audio plugins packaging
More information about the pkg-multimedia-commits
mailing list